Skip to content

Commit

Permalink
revert test debug
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel committed Aug 20, 2024
1 parent 5669815 commit 354cf0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestRTEvictionOnFailedQuery(t *testing.T) {
// peers should be in the RT because of fixLowPeers
require.NoError(t, tu.WaitFor(ctx, func() error {
if !checkRoutingTable(d1, d2) {
return fmt.Errorf("should have routes 0")
return fmt.Errorf("should have routes")
}
return nil
}))
Expand All @@ -45,7 +45,7 @@ func TestRTEvictionOnFailedQuery(t *testing.T) {
// peers will still be in the RT because we have decoupled membership from connectivity
require.NoError(t, tu.WaitFor(ctx, func() error {
if !checkRoutingTable(d1, d2) {
return fmt.Errorf("should have routes 1")
return fmt.Errorf("should have routes")
}
return nil
}))
Expand All @@ -59,7 +59,7 @@ func TestRTEvictionOnFailedQuery(t *testing.T) {

require.NoError(t, tu.WaitFor(ctx, func() error {
if checkRoutingTable(d1, d2) {
return fmt.Errorf("should not have routes 2")
return fmt.Errorf("should not have routes")
}
return nil
}))
Expand Down

0 comments on commit 354cf0b

Please sign in to comment.