From f0d327e98ee264f06ea2e0beabddd2a47910f5ac Mon Sep 17 00:00:00 2001 From: Paul Kronenwetter Date: Fri, 3 Jun 2022 22:14:05 -0400 Subject: [PATCH] Adjust timeouts. --- test/util_data_channel_1.py | 4 ++-- test/util_data_channel_2.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/util_data_channel_1.py b/test/util_data_channel_1.py index be05c2e2..1e3bca42 100644 --- a/test/util_data_channel_1.py +++ b/test/util_data_channel_1.py @@ -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) diff --git a/test/util_data_channel_2.py b/test/util_data_channel_2.py index 1f5a1afc..b1800544 100644 --- a/test/util_data_channel_2.py +++ b/test/util_data_channel_2.py @@ -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)