forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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