From b50ae6dbf5d5ea265e6c67955e77ee0b3820d06a Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sat, 9 Aug 2025 03:50:01 +0200 Subject: [PATCH] Update tests/test_utils_opmsg.py --- tests/test_utils_opmsg.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_utils_opmsg.py b/tests/test_utils_opmsg.py index 7efe291a9..32b536e22 100644 --- a/tests/test_utils_opmsg.py +++ b/tests/test_utils_opmsg.py @@ -149,12 +149,12 @@ class TestOperationMessage: assert om.ID == "CR" assert om.prefix == "SF-OP:CR-MSG" - #assert om.pv_send.wait_for_connection(timeout=2.0) - assert om.status.pv_status.wait_for_connection(timeout=2.0) + assert om.pv_send.wait_for_connection(timeout=10.0) + assert om.status.pv_status.wait_for_connection(timeout=10.0) assert len(om.entries) == N_MSG_HISTORY for i, entry in enumerate(om.entries): - assert entry.pv_date.wait_for_connection(timeout=2.0), f"OP-DATE{i} not connected" - assert entry.pv_msg.wait_for_connection(timeout=2.0), f"OP-MSG{i} not connected" + assert entry.pv_date.wait_for_connection(timeout=10.0), f"OP-DATE{i} not connected" + assert entry.pv_msg.wait_for_connection(timeout=10.0), f"OP-MSG{i} not connected" ''' def test_init_with_id(self): om = OperationMessage(ID="cr") # case-insensitive