From e9cf451c0b3029e683ed010c4d38c52f8e7a2f7b Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 17 Mar 2017 11:19:50 +0000 Subject: [PATCH] test: relax test_rpc_timing on Windows. --- artiq/test/coredevice/test_rtio.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq/test/coredevice/test_rtio.py b/artiq/test/coredevice/test_rtio.py index 817442dcf..6eaacb390 100644 --- a/artiq/test/coredevice/test_rtio.py +++ b/artiq/test/coredevice/test_rtio.py @@ -455,7 +455,10 @@ class RPCTest(ExperimentCase): rpc_time_mean = self.dataset_mgr.get("rpc_time_mean") print(rpc_time_mean) self.assertGreater(rpc_time_mean, 100*ns) - self.assertLess(rpc_time_mean, 2*ms) + if os.name == 'nt': + self.assertLess(rpc_time_mean, 4*ms) + else: + self.assertLess(rpc_time_mean, 2*ms) self.assertLess(self.dataset_mgr.get("rpc_time_stddev"), 1*ms)