test.test_periph_serial: fix loopback test.
authorJean-François Nguyen <jf@lambdaconcept.com>
Mon, 28 Jun 2021 14:16:15 +0000 (16:16 +0200)
committerJean-François Nguyen <jf@lambdaconcept.com>
Mon, 28 Jun 2021 15:52:27 +0000 (17:52 +0200)
lambdasoc/test/test_periph_serial.py

index a4a59f088e04b1a67060fd78b13afa0e7f463e3f..971593a351c24abc90ff21e5f8c9a3fbd5e2e2d2 100644 (file)
@@ -40,7 +40,7 @@ class AsyncSerialPeripheralTestCase(unittest.TestCase):
             yield from wb_write(dut.bus, addr=tx_data_addr, data=0xab, sel=0xf)
             yield
 
-            for i in range(10):
+            for i in range(61):
                 yield
             self.assertTrue((yield dut.irq))