mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Adjust timeouts.
This commit is contained in:
parent
448777af86
commit
f0d327e98e
2 changed files with 4 additions and 4 deletions
|
@ -147,7 +147,7 @@ def t_highsnr_arq_short_station1(
|
|||
time.sleep(0.5)
|
||||
|
||||
# This transaction should take less than 14 sec.
|
||||
timeout = time.time() + 20
|
||||
timeout = time.time() + 25
|
||||
while "ARQ;TRANSMITTING;SUCCESS" not in static.INFO:
|
||||
if time.time() > timeout:
|
||||
log.warning("station1 TIMEOUT", first=True)
|
||||
|
@ -159,7 +159,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() + 10
|
||||
timeout = time.time() + 20
|
||||
while static.ARQ_STATE or tnc.data_queue_transmit.queue:
|
||||
if time.time() > timeout:
|
||||
log.error("station1", TIMEOUT=True)
|
||||
|
|
|
@ -132,7 +132,7 @@ def t_highsnr_arq_short_station2(
|
|||
# time.sleep(2)
|
||||
|
||||
# This transaction should take less than 14 sec.
|
||||
timeout = time.time() + 20
|
||||
timeout = time.time() + 25
|
||||
while "ARQ;RECEIVING;SUCCESS" not in static.INFO or static.ARQ_STATE:
|
||||
if time.time() > timeout:
|
||||
log.warning("station2 TIMEOUT", first=True)
|
||||
|
@ -141,7 +141,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() + 10
|
||||
timeout = time.time() + 20
|
||||
while "ARQ;SESSION;CLOSE" not in static.INFO:
|
||||
if time.time() > timeout:
|
||||
log.error("station2", TIMEOUT=True)
|
||||
|
|
Loading…
Reference in a new issue