increased test timeouts - maybe this helps

This commit is contained in:
DJ2LS 2022-11-20 15:11:23 +01:00
parent a901944268
commit 1342152edd
2 changed files with 4 additions and 4 deletions

View file

@ -172,7 +172,7 @@ def t_highsnr_arq_short_station1(
sock.process_tnc_commands(json.dumps(data, indent=None))
# Assure the test completes.
timeout = time.time() + 25
timeout = time.time() + 60#25
# Compare with the string conversion instead of repeatedly dumping
# the queue to an object for comparisons.
while '"arq":"transmission","status":"transmitted"' not in str(
@ -190,7 +190,7 @@ def t_highsnr_arq_short_station1(
sock.process_tnc_commands(json.dumps(data, indent=None))
# Allow enough time for this side to process the disconnect frame.
timeout = time.time() + 20
timeout = time.time() + 60#20
while static.ARQ_STATE or tnc.data_queue_transmit.queue:
if time.time() > timeout:
log.error("station1", TIMEOUT=True)

View file

@ -129,7 +129,7 @@ def t_highsnr_arq_short_station2(
log.info("t_highsnr_arq_short_station2:", TXCHANNEL=modem.TXCHANNEL)
# Assure the test completes.
timeout = time.time() + 25
timeout = time.time() + 60#25
# Compare with the string conversion instead of repeatedly dumping
# the queue to an object for comparisons.
while (
@ -143,7 +143,7 @@ def t_highsnr_arq_short_station2(
log.info("station2, first", arq_state=pformat(static.ARQ_STATE))
# Allow enough time for this side to receive the disconnect frame.
timeout = time.time() + 20
timeout = time.time() + 60#20
while '"arq":"session","status":"close"' not in str(sock.SOCKET_QUEUE.queue):
if time.time() > timeout:
log.warning("station2", TIMEOUT=True)