Skip to content

Commit

Permalink
Wait longer for the test to complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoconni committed Feb 5, 2024
1 parent d4a7a38 commit d63bf5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestActuator.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ def test_regression_bug_1503(self):
self.tree.write(os.path.join('aircraft', self.aircraft_name,
self.aircraft_name+'.xml'))

# A new process is created that launches the script. We wait for 10
# A new process is created that launches the script. We wait for 50
# times the reference execution time for the script completion. Beyond
# that time, if the process is not completed, it is terminated and the
# test is failed.
p = Process(target=SubProcessScriptExecution,
args=(self.sandbox, self.script_path))
p.start()
p.join(exec_time * 20.0) # Wait 20 times the reference time
p.join(exec_time * 50.0) # Wait 50 times the reference time
alive = p.is_alive()
if alive:
p.terminate()
Expand Down

0 comments on commit d63bf5f

Please sign in to comment.