Increase HTTP timeouts on CI (#8031)

Since we re-enabled HTTP API tests on CI (https://github.com/sigp/lighthouse/pull/7943) there have been a few spurious failures:

- https://github.com/sigp/lighthouse/actions/runs/17608432465/job/50024519938?pr=7783

That error is awkward, but running locally with a short timeout confirms it to be a timeout.


  Change the request timeout to 5s everywhere. We had kept it shorter to try to detect performance regressions, but I think this is better suited to being done with metrics & traces. On CI we really just want things to pass reliably without flakiness, so I think a longer timeout to handle slower test code (like mock-builder) and overworked CI boxes makes sense.


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
Michael Sproul
2025-09-11 10:47:39 +10:00
committed by GitHub
parent 02d519e957
commit a080bb5cee
2 changed files with 6 additions and 6 deletions

View File

@@ -1383,7 +1383,8 @@ pub async fn blinded_equivocation_gossip() {
// XXX: this should be a 400 but is a 500 due to the mock-builder being janky
assert_eq!(
error_response.status(),
Some(StatusCode::INTERNAL_SERVER_ERROR)
Some(StatusCode::INTERNAL_SERVER_ERROR),
"{error_response:?}"
);
} else {
assert_eq!(error_response.status(), Some(StatusCode::BAD_REQUEST));