Issue node shutdown on empty workload
Remote pytest_runtestloop requires at least 2 tests, or a test and a shutdown command. In case of inter test locking, for example using a file lock, the tests could deadlock, since the shutdown command would not be enqueued, and the last test of a worker would never finish, and would not allow another worker to make progress.
This commit is contained in:
1
changelog/351.bugfix
Normal file
1
changelog/351.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Fix scheduling deadlock in case of inter-test locking.
|
||||
Reference in New Issue
Block a user