Enable uplink TestDownloadWithSomeNodesOffline (#1580)
This commit is contained in:
parent
06e2e7a1e0
commit
887b20c31b
@ -45,12 +45,14 @@ func TestDownloadWithSomeNodesOffline(t *testing.T) {
|
|||||||
testplanet.Run(t, testplanet.Config{
|
testplanet.Run(t, testplanet.Config{
|
||||||
SatelliteCount: 1, StorageNodeCount: 5, UplinkCount: 1,
|
SatelliteCount: 1, StorageNodeCount: 5, UplinkCount: 1,
|
||||||
}, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet) {
|
}, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet) {
|
||||||
t.Skip("flaky")
|
|
||||||
|
|
||||||
// first, upload some remote data
|
// first, upload some remote data
|
||||||
ul := planet.Uplinks[0]
|
ul := planet.Uplinks[0]
|
||||||
satellite := planet.Satellites[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)
|
testData := make([]byte, 1*memory.MiB)
|
||||||
_, err := rand.Read(testData)
|
_, err := rand.Read(testData)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user