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
1 changed files with 1 additions and 4 deletions

View File

@ -455,10 +455,7 @@ 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)
if os.name == 'nt': self.assertLess(rpc_time_mean, 2*ms)
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)