Increase the timeout value for the wasm benchmark;
And add logs for timeout.
This commit is contained in:
Родитель
3b25ceda9a
Коммит
aef30c913b
|
@ -176,7 +176,7 @@ class Browsermark(Benchmark):
|
|||
|
||||
class WasmMisc(Benchmark):
|
||||
def __init__(self):
|
||||
Benchmark.__init__(self, "0.3")
|
||||
Benchmark.__init__(self, "0.3", timeout=5)
|
||||
self.url = "http://wasm.local:8000"
|
||||
|
||||
@staticmethod
|
||||
|
|
|
@ -72,6 +72,8 @@ class BrowserExecutor(object):
|
|||
while not os.path.exists("results") and timeout > 0:
|
||||
time.sleep(10)
|
||||
timeout -= 10
|
||||
if not os.path.exists("results"):
|
||||
print "timeout!"
|
||||
|
||||
class EdgeExecutor(BrowserExecutor):
|
||||
def execute(self, benchmark, env, args, profile):
|
||||
|
|
Загрузка…
Ссылка в новой задаче