test_performance: relax network speed to 2 MB/s

At QUARTIQ I am getting 2.4/2.3 MB/s and with single switch at M-Labs we
apparently regularly met 2.2/2.2 MB/s. But with the current multiple
switches and one of them being a problematic switch that triggered #837
it looks like it is a tad slower.

http://buildbot.m-labs.hk/builders/artiq/builds/1818/steps/python_coverage_1/logs/stdio
This commit is contained in:
Robert Jördens 2017-12-06 17:19:10 +01:00
parent c47006b154
commit a44f8282dc
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class TransferTest(ExperimentCase):
exp = self.create(_Transfer)
host_to_device_rate = exp.host_to_device()
print(host_to_device_rate, "B/s")
self.assertGreater(host_to_device_rate, 2.2e6)
self.assertGreater(host_to_device_rate, 2e6)
@unittest.skipUnless(artiq_low_latency,
"timings are dependent on CPU load and network conditions")
@ -51,4 +51,4 @@ class TransferTest(ExperimentCase):
exp = self.create(_Transfer)
device_to_host_rate = exp.device_to_host()
print(device_to_host_rate, "B/s")
self.assertGreater(device_to_host_rate, 2.2e6)
self.assertGreater(device_to_host_rate, 2e6)