Skip to content

test(protocol): correct functional test observations and diagnostics - #2202

Merged
mbuckton merged 4 commits into
developmentfrom
MSG-263-functional-test-triage
Sep 10, 2026
Merged

test(protocol): correct functional test observations and diagnostics#2202
mbuckton merged 4 commits into
developmentfrom
MSG-263-functional-test-triage

Conversation

@mbuckton

Copy link
Copy Markdown
Contributor

Why

Functional CI failures include incorrect receiver counting and diagnostics that hide the point of failure. This cleanup preserves regression coverage while making remaining failures actionable.

Changes

  • MQTT 5 payload-format test observes the global receiver without a competing subscription listener, checks every expected payload/property, isolates its topic and closes the client on failure.
  • MQTT 5 overlap test counts incoming publications through one callback while retaining all subscription/unsubscribe expected counts; closes its client on assertion failure.
  • Aggregator test correlates JSON structurally and exposes missing/malformed output and content-type errors to assertions; removes stale expected-failure comment.
  • NATS fanout waits for subscriber flush before publication and remembers earlier order mismatches; improves partial-setup cleanup.
  • Paho wrapper joins output readers and checks exit status, preserving subprocess failure details and existing exclusions.

Validation

  • git diff --check passed.
  • Java compiler parser accepted all five changed source files (syntax only, using installed JDK 17; no type checking).
  • Attempted focused Maven tests with available Java 21 toolchain, but POM resolution failed before compilation: AWS SDK BOM 2.46.15 and Jersey BOM 4.0.2 unavailable due repository/DNS access. Further inspection also found the available Java 21 toolchain's module image inconsistent; it is not a reliable validation environment.
  • No runtime pass claimed. Draft pending Jenkins verification.

Remaining investigation

Paho flow_control2 broken pipe, NATS flush timeout, CANAerospace/N2K ingestion and extra authentication/system-topic failures remain unresolved. No production defect is asserted from timeout evidence alone. No tests disabled or deleted; REST schema failures excluded.

Jira: https://mapsmessaging.atlassian.net/browse/MSG-263
Refs: MSG-263

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: ad46f1ad-7767-4d1f-89f0-2a1810256ca2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mbuckton
mbuckton marked this pull request as ready for review September 10, 2026 16:21
@mbuckton
mbuckton merged commit 06f81f2 into development Sep 10, 2026
3 checks passed
@mbuckton
mbuckton deleted the MSG-263-functional-test-triage branch September 10, 2026 16:21
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