disable other overlay services that might update online in graveyard test (#1798)

This commit is contained in:
Egon Elbre 2019-04-22 18:22:52 +03:00 committed by Natalie Villasana
parent f49b0acc5b
commit 05732416dc

View File

@ -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)