Skip to content

Commit

Permalink
Increase timeout and correct invalid return on timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hansec committed Jul 5, 2024
1 parent 121deb2 commit b718681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/physics/test_ThinCurr.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"""


def mp_run(target,args,timeout=30):
def mp_run(target,args,timeout=180):
os.chdir(test_dir)
mp_q = multiprocessing.Queue()
p = multiprocessing.Process(target=target, args=args + (mp_q,))
Expand All @@ -93,7 +93,7 @@ def mp_run(target,args,timeout=30):
print("Timeout reached")
p.terminate()
p.join()
return None
return False
# Completed successfully?
test_result = mp_q.get()
p.join()
Expand Down

0 comments on commit b718681

Please sign in to comment.