Skip to content

Commit

Permalink
Merge pull request #2080 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
p2p/discover: improve flaky revalidation tests
  • Loading branch information
ucwong committed Jun 28, 2024
2 parents 86acc37 + ba9faa3 commit 83756dc
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 83756dc

Please sign in to comment.