Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch timeout mechanism to
subprocess.run
(#659)
* Switch to subprocess.run for timeouts * [experiment] Set CI TIMEOUT_SCALE_FACTOR to 1 * supress parameterized.expand error in event of no compilers, change TIMEOUT_SCALE_FACTOR in CI to 2 * Exempt dummy compilers from nsjail bind mounts, disable nsjail time limits * Don't run timeout test on windows * Decouple test_compiler_timeout's timeout from global timeout settings, reset TIMEOUT_SCALE_FACTOR to 10 * Have DummyLongRunningCompiler subclass DummyCompiler * Have a timeout of zero disable timeouts entirely * Skip test_zero_timeout on windows * black Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
- Loading branch information
1 parent
37ea60b
commit 906aa4a
Showing
10 changed files
with
939 additions
and
958 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.