2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

Revert "test: relax test_rpc_timing on Windows."

This reverts commit e9cf451c0b.
This commit is contained in:
whitequark 2017-03-17 11:34:45 +00:00
parent e9cf451c0b
commit dbea679e96

View File

@ -455,10 +455,7 @@ 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(rpc_time_mean, 2*ms)
self.assertLess(self.dataset_mgr.get("rpc_time_stddev"), 1*ms)