MetPX / sarracenia

https://MetPX.github.io/sarracenia
GNU General Public License v2.0
46 stars 22 forks source link

Refactor the interruptible_sleep test #1257

Closed reidsunderland closed 1 month ago

reidsunderland commented 1 month ago

The previous method of sending signals (spawning a background process that would sleep for 5 seconds then send a SIGTERM) proved to be unreliable. This uses SIGALRM instead and didn't fail at all in my testing.

github-actions[bot] commented 1 month ago

Test Results

249 tests   248 :white_check_mark:  1m 29s :stopwatch:   1 suites    1 :zzz:   1 files      0 :x:

Results for commit 84f4fdf2.