Skip to content

Flaky E2E: test_cross_environment_isolation fails with server startup timeout #85

Open

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

Activity

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

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