2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-20 08:56:28 +08:00

test: relax test_pulse_rate_dds to only catch catastrophic slowdown.

This commit is contained in:
whitequark 2017-03-17 11:17:47 +00:00
parent 4de336fbe9
commit 7dc7dcda2c

View File

@ -362,7 +362,7 @@ class CoredeviceTest(ExperimentCase):
rate = self.dataset_mgr.get("pulse_rate") rate = self.dataset_mgr.get("pulse_rate")
print(rate) print(rate)
self.assertGreater(rate, 1*us) self.assertGreater(rate, 1*us)
self.assertLess(rate, 8*us) self.assertLess(rate, 16*us)
def test_loopback_count(self): def test_loopback_count(self):
npulses = 2 npulses = 2