mirror of
https://github.com/m-labs/artiq.git
synced 2025-02-17 21:11:56 +08:00
test/worker: always close even if prepare() raises
This commit is contained in:
parent
82a2beaa32
commit
d73006652b
@ -31,8 +31,8 @@ class WatchdogTimeoutInBuild(Experiment, AutoDB):
|
||||
|
||||
@asyncio.coroutine
|
||||
def _call_worker(worker, expid):
|
||||
yield from worker.prepare(0, "main", expid, 0)
|
||||
try:
|
||||
yield from worker.prepare(0, "main", expid, 0)
|
||||
yield from worker.run()
|
||||
yield from worker.analyze()
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user