forked from M-Labs/artiq
1
0
Fork 0

test: relax test_rpc_timing on Windows.

This commit is contained in:
whitequark 2017-03-17 11:19:50 +00:00
parent 7dc7dcda2c
commit e9cf451c0b
1 changed files with 4 additions and 1 deletions

View File

@ -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)