Skip to content

Commit

Permalink
Reduce noise in the bootstrap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Jan 31, 2019
1 parent 0998477 commit b598d08
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down Expand Up @@ -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()
}
Expand Down Expand Up @@ -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")
}
Expand Down

0 comments on commit b598d08

Please sign in to comment.