Explorar o código

Increase timeout to handle slower conformance checking algorithm

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

+ 1 - 1
integration/utils.py

@@ -157,7 +157,7 @@ def run_file(files, parameters, expected, mode):
         for e in expected:
             c = len(e) if isinstance(e, set) else 1
             for _ in range(c):
-                val = urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "username": username})), timeout=10).read()
+                val = urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "username": username})), timeout=30).read()
 
                 if proc.returncode is not None:
                     # Modelverse has already terminated, which isn't a good sign!