From 887b20c31bfadeb364bc5cbb2f8a14a7a1a3a687 Mon Sep 17 00:00:00 2001 From: Maximillian von Briesen Date: Thu, 4 Apr 2019 13:35:19 -0400 Subject: [PATCH] Enable uplink TestDownloadWithSomeNodesOffline (#1580) --- internal/testplanet/uplink_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/testplanet/uplink_test.go b/internal/testplanet/uplink_test.go index 72a508ea7..78388a11e 100644 --- a/internal/testplanet/uplink_test.go +++ b/internal/testplanet/uplink_test.go @@ -45,12 +45,14 @@ func TestDownloadWithSomeNodesOffline(t *testing.T) { testplanet.Run(t, testplanet.Config{ SatelliteCount: 1, StorageNodeCount: 5, UplinkCount: 1, }, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet) { - t.Skip("flaky") // first, upload some remote data ul := planet.Uplinks[0] satellite := planet.Satellites[0] + // stop discovery service so that we do not get a race condition when we delete nodes from overlay cache + satellite.Discovery.Service.Discovery.Stop() + testData := make([]byte, 1*memory.MiB) _, err := rand.Read(testData) require.NoError(t, err)