From 05732416dce186c9577b27f9b2583b2525cbbd22 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Mon, 22 Apr 2019 18:22:52 +0300 Subject: [PATCH] disable other overlay services that might update online in graveyard test (#1798) --- pkg/discovery/service_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/discovery/service_test.go b/pkg/discovery/service_test.go index 19fae2250..991cfa436 100644 --- a/pkg/discovery/service_test.go +++ b/pkg/discovery/service_test.go @@ -35,7 +35,11 @@ func TestCache_Graveyard(t *testing.T) { testnode := planet.StorageNodes[0] offlineID := testnode.ID() + satellite.Kademlia.Service.RefreshBuckets.Pause() + + satellite.Discovery.Service.Refresh.Pause() satellite.Discovery.Service.Graveyard.Pause() + satellite.Discovery.Service.Discovery.Pause() // mark node as offline in overlay cache _, err := satellite.Overlay.Service.UpdateUptime(ctx, offlineID, false)