mirror of https://github.com/m-labs/artiq.git
test: relax min transfer rates from 2MB/s to 1.9MB/s
This commit is contained in:
parent
9153c4d8a3
commit
423929a125
|
@ -44,7 +44,7 @@ class TransferTest(ExperimentCase):
|
||||||
exp = self.create(_Transfer)
|
exp = self.create(_Transfer)
|
||||||
host_to_device_rate = exp.host_to_device()
|
host_to_device_rate = exp.host_to_device()
|
||||||
print(host_to_device_rate, "B/s")
|
print(host_to_device_rate, "B/s")
|
||||||
self.assertGreater(host_to_device_rate, 2e6)
|
self.assertGreater(host_to_device_rate, 1.9e6)
|
||||||
|
|
||||||
@unittest.skipUnless(artiq_low_latency,
|
@unittest.skipUnless(artiq_low_latency,
|
||||||
"timings are dependent on CPU load and network conditions")
|
"timings are dependent on CPU load and network conditions")
|
||||||
|
@ -52,7 +52,7 @@ class TransferTest(ExperimentCase):
|
||||||
exp = self.create(_Transfer)
|
exp = self.create(_Transfer)
|
||||||
device_to_host_rate = exp.device_to_host()
|
device_to_host_rate = exp.device_to_host()
|
||||||
print(device_to_host_rate, "B/s")
|
print(device_to_host_rate, "B/s")
|
||||||
self.assertGreater(device_to_host_rate, 2e6)
|
self.assertGreater(device_to_host_rate, 1.9e6)
|
||||||
|
|
||||||
|
|
||||||
class _KernelOverhead(EnvExperiment):
|
class _KernelOverhead(EnvExperiment):
|
||||||
|
|
Loading…
Reference in New Issue