mirror of https://github.com/m-labs/artiq.git
test: relax test_rpc_timing on Windows.
This commit is contained in:
parent
7dc7dcda2c
commit
e9cf451c0b
|
@ -455,7 +455,10 @@ class RPCTest(ExperimentCase):
|
||||||
rpc_time_mean = self.dataset_mgr.get("rpc_time_mean")
|
rpc_time_mean = self.dataset_mgr.get("rpc_time_mean")
|
||||||
print(rpc_time_mean)
|
print(rpc_time_mean)
|
||||||
self.assertGreater(rpc_time_mean, 100*ns)
|
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)
|
self.assertLess(self.dataset_mgr.get("rpc_time_stddev"), 1*ms)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue