1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-15 17:51:03 +00:00

Fixed code

This commit is contained in:
Ewout Prangsma 2018-04-03 15:41:38 +02:00
parent d289cff009
commit 7a5bf8e26f
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

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