tests: Increate timeout for start_server
This commit is contained in:
parent
45432648c2
commit
b79b251162
@ -25,7 +25,7 @@ class Testing(unittest.TestCase):
|
||||
cmd = ['python3', 'app.py', '-l', '127.0.0.1', '-p', str(port)]
|
||||
p = subprocess.Popen(cmd, cwd=BASE_DIR)
|
||||
start = time.time()
|
||||
while p.poll() == None and time.time() - start < 60:
|
||||
while p.poll() == None and time.time() - start < 600:
|
||||
try:
|
||||
url = 'http://localhost:%d' % port
|
||||
if 'emblem' in requests.get(url, timeout=1).text:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user