Skip to content

Flaky E2E: test_cross_environment_isolation fails with server startup timeout #85

@vieiralucas

Description

@vieiralucas

Description

The test_cross_environment_isolation E2E test intermittently fails in CI with:

Error: "Server failed to become ready within 12 seconds"

Impact

This is a flaky infrastructure failure, not a code issue. It causes CI pipelines to fail spuriously — observed on PRs #82 (and likely others). All other 59 E2E tests pass when this occurs.

Location

Possible Causes

  • Server startup takes longer under CI load, exceeding the 12-second timeout
  • Port contention when multiple E2E tests spawn servers concurrently

Suggested Fix

  • Increase the server readiness timeout (e.g., 30 seconds)
  • Add retry logic for server startup in the E2E test harness
  • Or investigate if the test can reuse a shared server instance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions