mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 03:31:45 +00:00
fix beacon chain / http_api tests
This commit is contained in:
@@ -134,6 +134,9 @@ async fn el_error_on_new_payload() {
|
||||
assert!(!api_response.is_optimistic);
|
||||
assert!(!api_response.is_syncing);
|
||||
|
||||
// sleep for just past the cache TTL
|
||||
tokio::time::sleep(std::time::Duration::from_secs(12)).await;
|
||||
|
||||
// Processing a block successfully should remove the status.
|
||||
mock_el.server.set_new_payload_status(
|
||||
block_hash,
|
||||
|
||||
Reference in New Issue
Block a user