▲ 999 ▼ Bug Fixing (programming.dev) submitted 2 years ago by JPDev@programming.dev to c/programmer_humor@programming.dev 70 comments fedilink hide all child comments
[–] Jimmycrackcrack@lemmy.ml 2 points 2 years ago (4 children) Ever work? permalink fedilink source hideshow 8 child comments replies: [–] puttputt@beehaw.org 11 points 2 years ago (1 child) Disturbingly, yes permalink fedilink source parent hideshow 2 child comments replies: [–] gandalf_der_12te@feddit.de 1 point 2 years ago* Every sufficiently complicated system is indistinguishable from being alive, and living beings need some warm-up time. permalink fedilink source parent [–] CodeMonkey@programming.dev 7 points 2 years ago* 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) permalink fedilink source parent [–] peopleproblems@lemmy.world 4 points 2 years ago I mean maybe permalink fedilink source parent [–] Droggelbecher@lemmy.world 1 point 2 years ago Not with code, but i write a lot of LaTeX and that often starts working on second compilation permalink fedilink source parent
[–] puttputt@beehaw.org 11 points 2 years ago (1 child) Disturbingly, yes permalink fedilink source parent hideshow 2 child comments replies: [–] gandalf_der_12te@feddit.de 1 point 2 years ago* Every sufficiently complicated system is indistinguishable from being alive, and living beings need some warm-up time. permalink fedilink source parent
[–] gandalf_der_12te@feddit.de 1 point 2 years ago* Every sufficiently complicated system is indistinguishable from being alive, and living beings need some warm-up time. permalink fedilink source parent
[–] CodeMonkey@programming.dev 7 points 2 years ago* 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) permalink fedilink source parent
[–] Droggelbecher@lemmy.world 1 point 2 years ago Not with code, but i write a lot of LaTeX and that often starts working on second compilation permalink fedilink source parent