浏览代码

Extended timeout period a bit for some tests

Yentl Van Tendeloo 9 年之前
父节点
当前提交
b7e10f1796
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      integration/utils.py

+ 2 - 2
integration/utils.py

@@ -67,7 +67,7 @@ def flush_data(address, data):
 def compile_file(address, mod_filename, filename, mode, proc):
     # Load in the file required
     try:
-        timeout_val = 120
+        timeout_val = 240
         import random
         username = str(random.random())
         while 1:
@@ -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=120).read()
+                val = urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "username": username})), timeout=240).read()
 
                 if proc.returncode is not None:
                     # Modelverse has already terminated, which isn't a good sign!