mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
increased test timeouts - maybe this helps
This commit is contained in:
parent
a901944268
commit
1342152edd
|
@ -172,7 +172,7 @@ def t_highsnr_arq_short_station1(
|
||||||
sock.process_tnc_commands(json.dumps(data, indent=None))
|
sock.process_tnc_commands(json.dumps(data, indent=None))
|
||||||
|
|
||||||
# Assure the test completes.
|
# Assure the test completes.
|
||||||
timeout = time.time() + 25
|
timeout = time.time() + 60#25
|
||||||
# Compare with the string conversion instead of repeatedly dumping
|
# Compare with the string conversion instead of repeatedly dumping
|
||||||
# the queue to an object for comparisons.
|
# the queue to an object for comparisons.
|
||||||
while '"arq":"transmission","status":"transmitted"' not in str(
|
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))
|
sock.process_tnc_commands(json.dumps(data, indent=None))
|
||||||
|
|
||||||
# Allow enough time for this side to process the disconnect frame.
|
# 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:
|
while static.ARQ_STATE or tnc.data_queue_transmit.queue:
|
||||||
if time.time() > timeout:
|
if time.time() > timeout:
|
||||||
log.error("station1", TIMEOUT=True)
|
log.error("station1", TIMEOUT=True)
|
||||||
|
|
|
@ -129,7 +129,7 @@ def t_highsnr_arq_short_station2(
|
||||||
log.info("t_highsnr_arq_short_station2:", TXCHANNEL=modem.TXCHANNEL)
|
log.info("t_highsnr_arq_short_station2:", TXCHANNEL=modem.TXCHANNEL)
|
||||||
|
|
||||||
# Assure the test completes.
|
# Assure the test completes.
|
||||||
timeout = time.time() + 25
|
timeout = time.time() + 60#25
|
||||||
# Compare with the string conversion instead of repeatedly dumping
|
# Compare with the string conversion instead of repeatedly dumping
|
||||||
# the queue to an object for comparisons.
|
# the queue to an object for comparisons.
|
||||||
while (
|
while (
|
||||||
|
@ -143,7 +143,7 @@ def t_highsnr_arq_short_station2(
|
||||||
log.info("station2, first", arq_state=pformat(static.ARQ_STATE))
|
log.info("station2, first", arq_state=pformat(static.ARQ_STATE))
|
||||||
|
|
||||||
# Allow enough time for this side to receive the disconnect frame.
|
# 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):
|
while '"arq":"session","status":"close"' not in str(sock.SOCKET_QUEUE.queue):
|
||||||
if time.time() > timeout:
|
if time.time() > timeout:
|
||||||
log.warning("station2", TIMEOUT=True)
|
log.warning("station2", TIMEOUT=True)
|
||||||
|
|
Loading…
Reference in a new issue