JPDev@programming.dev to Programmer Humor@programming.dev · 8 个月前Bug Fixingprogramming.devimagemessage-square78fedilinkarrow-up11.04Karrow-down119
arrow-up11.02Karrow-down1imageBug Fixingprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 8 个月前message-square78fedilink
minus-squaregandalf_der_12te@feddit.delinkfedilinkarrow-up1·edit-28 个月前Every sufficiently complicated system is indistinguishable from being alive, and living beings need some warm-up time.
minus-squareCodeMonkey@programming.devlinkfedilinkarrow-up7·edit-28 个月前All the time. Causes include: Test depends on an external system (database, package manager) Race conditions Failing the test cleared bad state (test expects test data not to be in the system and clears it when it exits) Failing test set up unknown prerequisite (Build 2 tests depends on changes in Build 1 but build system built them out of order) External forces messing with the test runner (test machine going to sleep or running out of resources) We call those “flaky tests” and only fail a build if a given test cannot pass after 2 retries. (We also flag the test runs for manual review)
minus-squareDroggelbecher@lemmy.worldlinkfedilinkarrow-up1·8 个月前Not with code, but i write a lot of LaTeX and that often starts working on second compilation
Ever work?
Disturbingly, yes
Every sufficiently complicated system is indistinguishable from being alive, and living beings need some warm-up time.
All the time. Causes include:
We call those “flaky tests” and only fail a build if a given test cannot pass after 2 retries. (We also flag the test runs for manual review)
I mean
maybe
Not with code, but i write a lot of LaTeX and that often starts working on second compilation