Skip to content

TestAnnotationEvents fix for COMRPC ordering - #331

Merged
sebaszm merged 1 commit into
masterfrom
comrpc-message-timing-test
Sep 29, 2026
Merged

sebaszm merged 1 commit into
masterfrom
comrpc-message-timing-test

Conversation

@nxtum

@nxtum nxtum commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 28, 2026 13:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The change addresses nondeterministic message ordering without unresolved issues.

Review effort: Lite
Findings: None

What changed in this PR

Updates the COM-RPC annotation event test to handle nondeterministic callback ordering.

Changes:

  • Adds <algorithm>.
  • Sorts status messages before asserting expected contents.
File Description
tests/​FunctionalTests/​comrpc/​tests/​TestAnnotationEvents.cpp Makes multiple-message assertions order-independent.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sebaszm
sebaszm self-requested a review September 29, 2026 10:07

@sebaszm sebaszm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clever!

@sebaszm
sebaszm merged commit f1689dc into master Sep 29, 2026
99 checks passed
@sebaszm
sebaszm deleted the comrpc-message-timing-test branch September 29, 2026 10:08
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants