Skip to content

Commit

Permalink
added delay in TestRefreshBelowMinRTThreshold
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel committed Feb 24, 2023
1 parent cbbba91 commit be25008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ func TestRefreshBelowMinRTThreshold(t *testing.T) {

// and because of the above bootstrap, A also discovers E !
waitForWellFormedTables(t, []*IpfsDHT{dhtA}, 4, 4, 20*time.Second)
time.Sleep(10 * time.Millisecond)
time.Sleep(100 * time.Millisecond)
assert.Equal(t, dhtE.self, dhtA.routingTable.Find(dhtE.self), "A's routing table should have peer E!")
}

Expand Down

0 comments on commit be25008

Please sign in to comment.