mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-24 22:32:13 +00:00
Reduce noise in the bootstrap tests
This commit is contained in:
parent
0998477db1
commit
b598d08a51
@ -570,7 +570,7 @@ func waitForWellFormedTables(t *testing.T, dhts []*IpfsDHT, minPeers, avgPeers i
|
||||
rtlen := dht.routingTable.Size()
|
||||
totalPeers += rtlen
|
||||
if minPeers > 0 && rtlen < minPeers {
|
||||
t.Logf("routing table for %s only has %d peers (should have >%d)", dht.self, rtlen, minPeers)
|
||||
//t.Logf("routing table for %s only has %d peers (should have >%d)", dht.self, rtlen, minPeers)
|
||||
return false
|
||||
}
|
||||
}
|
||||
@ -608,7 +608,6 @@ func printRoutingTables(dhts []*IpfsDHT) {
|
||||
}
|
||||
|
||||
func TestBootstrap(t *testing.T) {
|
||||
// t.Skip("skipping test to debug another")
|
||||
if testing.Short() {
|
||||
t.SkipNow()
|
||||
}
|
||||
@ -659,7 +658,6 @@ func TestBootstrap(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPeriodicBootstrap(t *testing.T) {
|
||||
// t.Skip("skipping test to debug another")
|
||||
if ci.IsRunning() {
|
||||
t.Skip("skipping on CI. highly timing dependent")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user