test/rtio: adapt to new handover behavior

This commit is contained in:
Sebastien Bourdeauducq 2016-06-29 10:38:37 +08:00
parent c6e54e3016
commit e51928ee97
1 changed files with 1 additions and 2 deletions

View File

@ -231,6 +231,7 @@ class TimeKeepsRunning(EnvExperiment):
@kernel @kernel
def run(self): def run(self):
self.core.reset()
self.set_dataset("time_at_start", now_mu()) self.set_dataset("time_at_start", now_mu())
@ -334,8 +335,6 @@ class CoredeviceTest(ExperimentCase):
def test_time_keeps_running(self): def test_time_keeps_running(self):
self.execute(TimeKeepsRunning) self.execute(TimeKeepsRunning)
t1 = self.dataset_mgr.get("time_at_start") t1 = self.dataset_mgr.get("time_at_start")
self.device_mgr.get("comm").close() # start a new session
self.execute(TimeKeepsRunning) self.execute(TimeKeepsRunning)
t2 = self.dataset_mgr.get("time_at_start") t2 = self.dataset_mgr.get("time_at_start")