diff --git a/lib/uplinkc/testdata_test.go b/lib/uplinkc/testdata_test.go index bf8be9fc5..83b3e44b7 100644 --- a/lib/uplinkc/testdata_test.go +++ b/lib/uplinkc/testdata_test.go @@ -8,6 +8,7 @@ import ( "os/exec" "path/filepath" "testing" + "time" "github.com/stretchr/testify/require" "go.uber.org/zap/zapcore" @@ -25,7 +26,7 @@ func RunPlanet(t *testing.T, run func(ctx *testcontext.Context, planet *testplan zaptest.NewLogger(t, zaptest.Level(zapcore.WarnLevel)), testplanet.Config{ SatelliteCount: 1, - StorageNodeCount: 8, + StorageNodeCount: 6, UplinkCount: 1, Reconfigure: testplanet.DisablePeerCAWhitelist, }, @@ -42,7 +43,7 @@ func RunPlanet(t *testing.T, run func(ctx *testcontext.Context, planet *testplan } func TestC(t *testing.T) { - ctx := testcontext.New(t) + ctx := testcontext.NewWithTimeout(t, 5*time.Minute) defer ctx.Cleanup() libuplink := ctx.CompileShared(t, "uplink", "storj.io/storj/lib/uplinkc")