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,6 +455,9 @@ class RPCTest(ExperimentCase):
|
|||
rpc_time_mean = self.dataset_mgr.get("rpc_time_mean")
|
||||
print(rpc_time_mean)
|
||||
self.assertGreater(rpc_time_mean, 100*ns)
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue