test: relax test_dma_record_time

This commit is contained in:
Sebastien Bourdeauducq 2017-06-21 18:33:58 +08:00
parent 64ce85445c
commit 6262969d46

View File

@ -613,7 +613,7 @@ class DMATest(ExperimentCase):
exp.record_many(count)
dt = self.dataset_mgr.get("dma_record_time")
print("dt={}, dt/count={}".format(dt, dt/count))
self.assertLess(dt/count, 18*us)
self.assertLess(dt/count, 20*us)
def test_dma_playback_time(self):
exp = self.create(_DMA)