-
Notifications
You must be signed in to change notification settings - Fork 932
Description
https://github.com/sigp/lighthouse/actions/runs/15044891932/job/42284911795
This test appears to be flaky:
──── STDERR: lighthouse_network::rpc_tests test_delayed_rpc_response
thread 'test_delayed_rpc_response' panicked at beacon_node\lighthouse_network\tests\rpc_tests.rs:1229:33:
assertion failed: request_sent_at.elapsed() >
(Duration::from_secs(QUOTA_SEC) - Duration::from_millis(100))
note: run withRUST_BACKTRACE=1environment variable to display a backtrace
Here is the failing assertion:
lighthouse/beacon_node/lighthouse_network/tests/rpc_tests.rs
Lines 1226 to 1233 in 1324d3d
| // The second and subsequent responses are delayed due to the response rate-limiter on the receiver side. | |
| // Adding a slight margin to the elapsed time check to account for potential timing issues caused by system | |
| // scheduling or execution delays during testing. | |
| assert!( | |
| request_sent_at.elapsed() | |
| > (Duration::from_secs(QUOTA_SEC) | |
| - Duration::from_millis(100)) | |
| ); |
Although it looks like it already has a 100ms margin added, which should probably be enough? Might need @ackintosh's help to figure out the right fix.