Skip to content

Commit 3d0c63b

Browse files
committed
try simple fix to finish deployment
1 parent e3e5bb1 commit 3d0c63b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

FprimeZephyrReference/test/int/antenna_deployer_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,7 @@ def test_deployment_prevention_after_success(
269269
fprime_test_api.clear_histories()
270270
proves_send_and_assert_command(fprime_test_api, f"{antenna_deployer}.DEPLOY")
271271
fprime_test_api.assert_event(f"{antenna_deployer}.DeployAttempt", timeout=5)
272+
273+
# Stop the deployment cleanly before test ends to prevent race condition
274+
proves_send_and_assert_command(fprime_test_api, f"{antenna_deployer}.DEPLOY_STOP")
275+
fprime_test_api.assert_event(f"{antenna_deployer}.DeployFinish", timeout=5)

0 commit comments

Comments
 (0)