Skip to content

Conversation

VDanielEdwards
Copy link
Member

@VDanielEdwards VDanielEdwards commented Aug 19, 2025

Subject

Rewrites the ITest_Internals_ParticipantModes such that it doesn't rely on internal functions anymore, doesn't wait indefinitely anymore, and 'gracefully' crashes if a thread does hang.

TODO:

  • Handle expectations in the individual tests through gmock
  • Split the 'valid combinations' test into a parameterized test
  • Maybe cleanup RunnerBase as it currently provides helper methods and fields for all runner types
  • BUG: Specifically the AutonomousFreerunningRequiredWorksWithCoordinatedSynchronized test sometimes fails to shutdown all threads as the halt signal arrives before the last participant (the system controller) is able to receive the 'halt' signal. It might work better if the runners utilize a work-queue (like the orchestrator) wince that would allow to 'split' setup and the main-loop execution, while directing it from the orchestrator.

Developer checklist (address before review)

  • Changelog.md updated
  • Prepared update for depending repositories
  • Documentation updated (public API changes only)
  • API docstrings updated (public API changes only)
  • Rebase → commit history clean
  • Squash and merge → proper PR title

@VDanielEdwards VDanielEdwards self-assigned this Aug 19, 2025
@VDanielEdwards VDanielEdwards force-pushed the dev/tests/fix-hangup-itest-participant-modes branch 2 times, most recently from 5dc68fa to c3bdf05 Compare August 19, 2025 11:43
@VDanielEdwards VDanielEdwards force-pushed the dev/tests/fix-hangup-itest-participant-modes branch from cbf05eb to e76978e Compare August 19, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant