diff --git a/tests/scale_test.go b/tests/scale_test.go index 70f78e834..9c77b0a47 100644 --- a/tests/scale_test.go +++ b/tests/scale_test.go @@ -3,7 +3,6 @@ package tests import ( "context" "testing" - "time" "github.com/dchest/uniuri" @@ -24,7 +23,7 @@ func TestScaleClusterNonTLS(t *testing.T) { // Prepare deployment config depl := newDeployment("test-scale-non-tls" + uniuri.NewLen(4)) depl.Spec.Mode = api.NewMode(api.DeploymentModeCluster) - depl.Spec.TLS = api.TLSSpec{util.NewString("None"), nil, util.NewDuration(time.Second * 50)} + depl.Spec.TLS = api.TLSSpec{CASecretName: util.NewString("None")} depl.Spec.SetDefaults(depl.GetName()) // this must be last // Create deployment