Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fix termination of external runners with duration.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfk committed Aug 30, 2013
1 parent 769711e commit 8d94ce0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions loads/runners/external.py
Expand Up @@ -103,12 +103,11 @@ def _check_processes(self):
return
else:
# Wait for all the tests to finish and exit
if self._terminated is not None:
if self._terminated is None:
self._terminated = now

if (len(terminated) == len(self._processes)
or self._terminated is not None
and self._terminated + self._timeout > now):
or now > self._terminated + self._timeout):
self._start_next_step()

elif (len(terminated) == len(self._processes)
Expand Down

0 comments on commit 8d94ce0

Please sign in to comment.