test/worker: adapt to priority API

This commit is contained in:
Sebastien Bourdeauducq 2015-05-24 23:38:05 +08:00
parent 5fb86af3a4
commit f30d671359

View File

@ -31,7 +31,7 @@ class WatchdogTimeoutInBuild(Experiment, AutoDB):
@asyncio.coroutine
def _call_worker(worker, expid):
yield from worker.prepare(0, "main", expid)
yield from worker.prepare(0, "main", expid, 0)
try:
yield from worker.run()
yield from worker.analyze()