mirror of https://github.com/m-labs/artiq.git
Fix tests.
This commit is contained in:
parent
009d396740
commit
3485c83429
|
@ -403,7 +403,7 @@ class CoredeviceTest(ExperimentCase):
|
||||||
self.execute(TimeKeepsRunning)
|
self.execute(TimeKeepsRunning)
|
||||||
t2 = self.dataset_mgr.get("time_at_start")
|
t2 = self.dataset_mgr.get("time_at_start")
|
||||||
|
|
||||||
dead_time = self.core.mu_to_seconds(t2 - t1, self.device_mgr.get("core"))
|
dead_time = self.device_mgr.get("core").mu_to_seconds(t2 - t1)
|
||||||
print(dead_time)
|
print(dead_time)
|
||||||
self.assertGreater(dead_time, 1*ms)
|
self.assertGreater(dead_time, 1*ms)
|
||||||
self.assertLess(dead_time, 2500*ms)
|
self.assertLess(dead_time, 2500*ms)
|
||||||
|
|
Loading…
Reference in New Issue