From 43c6b7afb378d70f9ec3ffb25d33d3db68128e82 Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Tue, 22 Oct 2024 20:18:25 +0100 Subject: [PATCH 1/2] Fix test --- gfe_integration_tests/test_rte/test_rte_during_run_forever.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfe_integration_tests/test_rte/test_rte_during_run_forever.py b/gfe_integration_tests/test_rte/test_rte_during_run_forever.py index 703b9636..dc51bae4 100644 --- a/gfe_integration_tests/test_rte/test_rte_during_run_forever.py +++ b/gfe_integration_tests/test_rte/test_rte_during_run_forever.py @@ -40,9 +40,9 @@ def start(): "test_rte_during_run.aplx", ExecutableType.USES_SIMULATION_INTERFACE)) s.add_socket_address(None, "localhost", conn.local_port) - s.run(None) with pytest.raises(ExecutableFailedToStopException): - s.stop() + s.run(None) + s.stop() def test_rte_during_run_forever(self): self.runsafe(self.check_rte_during_run_forever) From 0f5f9716090d20fafc6d374840897a9e3697ae97 Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Tue, 22 Oct 2024 21:49:19 +0100 Subject: [PATCH 2/2] Stop not needed --- gfe_integration_tests/test_rte/test_rte_during_run_forever.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gfe_integration_tests/test_rte/test_rte_during_run_forever.py b/gfe_integration_tests/test_rte/test_rte_during_run_forever.py index dc51bae4..9d4714e6 100644 --- a/gfe_integration_tests/test_rte/test_rte_during_run_forever.py +++ b/gfe_integration_tests/test_rte/test_rte_during_run_forever.py @@ -42,7 +42,6 @@ def start(): s.add_socket_address(None, "localhost", conn.local_port) with pytest.raises(ExecutableFailedToStopException): s.run(None) - s.stop() def test_rte_during_run_forever(self): self.runsafe(self.check_rte_during_run_forever)