Explorar o código

Allow Modelverse some time to start up completely

Yentl Van Tendeloo %!s(int64=9) %!d(string=hai) anos
pai
achega
0115001996
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      integration/utils.py

+ 1 - 1
integration/utils.py

@@ -80,7 +80,7 @@ def run_file(files, parameters, expected, mode):
                             kill(proc2)
                             print("Compilation timeout expired!")
                             return False
-                    if proc2.returncode != 7:
+                    if proc2.returncode not in [7, 56]:
                         break
 
                 # Make sure everything stopped correctly