tb: axis_mii_tx: Test underflow rather than err with collision

If we ever see an error, we shouldn't retry if we get a collision at the
same time, as we will just have to jam next time. Test for this case
instead.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
Sean Anderson 2023-01-11 17:27:35 -05:00
parent a3ae038f4f
commit 4746b3b6cd
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ async def test_underflow(mac):
await underflow(mac, send, status)
# Underflow with collision
send, status = await start(mac, [*range(x), None])
send, status = await start(mac, [*range(x), None], last_extra=(12 + 8 + x) * 10)
await restart(mac, (8 + x) * BYTE_TIME_NS - 1)
if x <= 56:
await underflow(mac, send, status)