comparison PerfsDb/TestConfig.py @ 170:a38c3cbc74dd

increasedd startup timeout
author am@osimis.io
date Fri, 31 Aug 2018 11:57:33 +0200
parents 85a2074f8794
children c92e7191c912
comparison
equal deleted inserted replaced
169:85a2074f8794 170:a38c3cbc74dd
67 startTime = time.time() 67 startTime = time.time()
68 68
69 self._orthancProcess = subprocess.Popen(runOrthancCommand) 69 self._orthancProcess = subprocess.Popen(runOrthancCommand)
70 70
71 print("Waiting for Orthanc to start") 71 print("Waiting for Orthanc to start")
72 if not TimeOut.waitUntilCondition(lambda: orthanc.isAlive(), 3000, evaluateInterval = 0.1): 72 if not TimeOut.waitUntilCondition(lambda: orthanc.isAlive(), 5000, evaluateInterval = 0.1):
73 print("Orthanc failed to start") 73 print("Orthanc failed to start")
74 exit(-2) 74 exit(-2)
75 endTime = time.time() 75 endTime = time.time()
76 76
77 startupTimeResult.add((endTime - startTime) * 1000) 77 startupTimeResult.add((endTime - startTime) * 1000)