Increased timeout for coder_thread.join() in benchmark.py.

This commit is contained in:
Paul Gauthier 2023-06-23 21:18:13 -07:00
parent be1cf5cc5d
commit 6731fb0710

View file

@ -186,7 +186,7 @@ def run_test(testdir, model_name, edit_format, retries):
stop_event = threading.Event()
coder_thread = threading.Thread(target=run_coder, args=(stop_event,))
coder_thread.start()
coder_thread.join(60) # 60 seconds timeout
coder_thread.join(120) # seconds timeout
if coder_thread.is_alive():
stop_event.set()