From e6666ce6a919115e7e0df697847b5dd0dc9b0828 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 3 Apr 2016 11:36:58 +0000 Subject: [PATCH] test_pulse_rate_dds: adjust bounds. --- artiq/test/coredevice/test_rtio.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/artiq/test/coredevice/test_rtio.py b/artiq/test/coredevice/test_rtio.py index be1d6e46b..bbe151429 100644 --- a/artiq/test/coredevice/test_rtio.py +++ b/artiq/test/coredevice/test_rtio.py @@ -115,7 +115,7 @@ class PulseRateDDS(EnvExperiment): @kernel def run(self): - dt = seconds_to_mu(50*us) + dt = seconds_to_mu(5*us) while True: delay(10*ms) for i in range(100): @@ -264,8 +264,8 @@ class CoredeviceTest(ExperimentCase): self.execute(PulseRateDDS) rate = self.dataset_mgr.get("pulse_rate") print(rate) - self.assertGreater(rate, 100*us) - self.assertLess(rate, 150*us) + self.assertGreater(rate, 5*us) + self.assertLess(rate, 25*us) def test_loopback_count(self): npulses = 2