mirror of https://github.com/m-labs/artiq.git
rtio/sed: disable wait in TestLaneDistributor.test_regular
This commit is contained in:
parent
4112e403de
commit
f079ac6af6
|
@ -75,9 +75,8 @@ def simulate(input_events, wait=True):
|
||||||
|
|
||||||
class TestLaneDistributor(unittest.TestCase):
|
class TestLaneDistributor(unittest.TestCase):
|
||||||
def test_regular(self):
|
def test_regular(self):
|
||||||
# Assumes lane 0 does not have wait time.
|
|
||||||
N = 16
|
N = 16
|
||||||
output, access_results = simulate([(42+n, (n+1)*8) for n in range(N)])
|
output, access_results = simulate([(42+n, (n+1)*8) for n in range(N)], wait=False)
|
||||||
self.assertEqual(output, [(0, n, 42+n, (n+1)*8) for n in range(N)])
|
self.assertEqual(output, [(0, n, 42+n, (n+1)*8) for n in range(N)])
|
||||||
self.assertEqual(access_results, [("ok", 0)]*N)
|
self.assertEqual(access_results, [("ok", 0)]*N)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue