From 18ec4f2987fbc18d36ef3d5446113f123dfac068 Mon Sep 17 00:00:00 2001 From: Ken Giusti Date: Wed, 20 Sep 2023 10:52:55 -0400 Subject: [PATCH] Fixes #1222: wait for test server to exit before sending ping (#1223) --- tests/system_tests_http1_adaptor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/system_tests_http1_adaptor.py b/tests/system_tests_http1_adaptor.py index 1254d0175..c1b447218 100644 --- a/tests/system_tests_http1_adaptor.py +++ b/tests/system_tests_http1_adaptor.py @@ -1520,6 +1520,9 @@ def test_02_bad_AMQP_request_message(self): # ts.wait() # self.assertEqual(1, ts.rejected); + # wait for the test server to close + wait_http_listeners_down(self.INT_A.listener, l_filter={'name': 'L_testServer'}) + # verify router is still sane: http1_ping(self.http_server_port, self.http_listener_port)