forked from M-Labs/artiq
1
0
Fork 0

test: relax RTIO counter test and print result

This commit is contained in:
Sebastien Bourdeauducq 2018-01-24 10:07:22 +08:00
parent ed0fbd5662
commit 77f90cf93b
1 changed files with 2 additions and 1 deletions

View File

@ -371,8 +371,9 @@ class CoredeviceTest(ExperimentCase):
def test_rtio_counter(self): def test_rtio_counter(self):
self.execute(RTIOCounter) self.execute(RTIOCounter)
dt = self.dataset_mgr.get("dt") dt = self.dataset_mgr.get("dt")
print(dt)
self.assertGreater(dt, 50*ns) self.assertGreater(dt, 50*ns)
self.assertLess(dt, 200*ns) self.assertLess(dt, 1*us)
def test_loopback(self): def test_loopback(self):
self.execute(Loopback) self.execute(Loopback)