forked from M-Labs/artiq
1
0
Fork 0

test: relax network transfer rates

Due to lower Kasli system clock frequency.
This commit is contained in:
Sebastien Bourdeauducq 2018-08-27 16:47:48 +08:00
parent ea71a0491b
commit ba6094c3e5
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,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.1e6)
self.assertGreater(host_to_device_rate, 2.0e6)
@unittest.skipUnless(artiq_low_latency,
"timings are dependent on CPU load and network conditions")
@ -52,7 +52,7 @@ 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.4e6)
self.assertGreater(device_to_host_rate, 2.3e6)
class _KernelOverhead(EnvExperiment):