Skip to content

Commit

Permalink
[QMI-0xx] Found a way to fix it.
Browse files Browse the repository at this point in the history
  • Loading branch information
heevasti committed Dec 18, 2023
1 parent e98bcff commit ba818f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/core/test_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,7 @@ async def the_call():

except qmi.core.exceptions.QMI_TimeoutException as tim:
# Catch this as some servers apparently fragment the message to be max of 4096 bytes, so it does not crash
print(len(trans._read_buffer))
if len(trans._read_buffer) != 8096:
if len(trans._read_buffer) != 8092:
raise AssertionError from tim

if loop.is_running():
Expand Down

0 comments on commit ba818f4

Please sign in to comment.