Skip to content

Commit

Permalink
p2p/discover: improve flaky revalidation tests (ethereum#30023)
Browse files Browse the repository at this point in the history
  • Loading branch information
Halimao committed Jun 21, 2024
1 parent c10ac4f commit a71f6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/discover/table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func waitForRevalidationPing(t *testing.T, transport *pingRecorder, tab *Table,
simclock.Run(tab.cfg.PingInterval * slowRevalidationFactor)
p := transport.waitPing(2 * time.Second)
if p == nil {
t.Fatal("Table did not send revalidation ping")
continue
}
if id == (enode.ID{}) || p.ID() == id {
return p
Expand Down

0 comments on commit a71f6f9

Please sign in to comment.