From 354cf0b38528a341ae570d456b6702eec71d2270 Mon Sep 17 00:00:00 2001 From: guillaumemichel Date: Tue, 20 Aug 2024 13:06:28 +0200 Subject: [PATCH] revert test debug --- query_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/query_test.go b/query_test.go index 99c10d96..91669641 100644 --- a/query_test.go +++ b/query_test.go @@ -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 })) @@ -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 })) @@ -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 }))