mirror of https://github.com/m-labs/artiq.git
test/rtio: adapt to new handover behavior
This commit is contained in:
parent
c6e54e3016
commit
e51928ee97
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue