Skip to content

Allow multiple integration tests at the main app level #1419

Description

@josecelano

Goal

Enable multiple independent main-application integration tests to run in parallel without port conflicts, configuration collisions, or logging initialization errors.

Current plan update

After #2036, #2041, and #2039 land, add a shared-event-bus policy integration test:

  • Start enabled and metrics-disabled HTTP/UDP listeners.
  • Verify they share aggregate event streams/repositories as designed.
  • Verify only enabled listener traffic changes public metrics.
  • Verify the test uses canonical registry discovery rather than bind-IP classification or fixed startup delays.

Existing scope

  • Isolate temporary config/storage per test.
  • Use port zero and discover final endpoints.
  • Remove shared environment-variable test collisions.
  • Run cargo test --test stats concurrently.

Related to #2035, #2036, #2039, and #2041.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions