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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions