diff --git a/p2p/discover/table_test.go b/p2p/discover/table_test.go index 2f1797d1e2..ed5a9d5809 100644 --- a/p2p/discover/table_test.go +++ b/p2p/discover/table_test.go @@ -423,7 +423,9 @@ func TestTable_revalidateSyncRecord(t *testing.T) { // Wait for revalidation. We wait for the node to be revalidated two times // in order to synchronize with the update in the table. + time.Sleep(5 * time.Millisecond) waitForRevalidationPing(t, transport, tab, n2.ID()) + time.Sleep(5 * time.Millisecond) waitForRevalidationPing(t, transport, tab, n2.ID()) intable := tab.getNode(id)