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
Description
The
test_cross_environment_isolationE2E test intermittently fails in CI with: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
apps/e2e-test/tests/rbac.rs—test_cross_environment_isolationPossible Causes
Suggested Fix