Skip to content

Commit

Permalink
fix stack name
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Dec 27, 2024
1 parent d6dc40a commit 08c1c83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/e2e/tests/k8s_suite/kind_aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/DataDog/datadog-operator/test/e2e/common"
"github.com/DataDog/datadog-operator/test/e2e/provisioners"
"github.com/DataDog/test-infra-definitions/components/datadog/operatorparams"
"strings"
"testing"
)

Expand All @@ -32,7 +33,7 @@ func TestAWSKindSuite(t *testing.T) {
}

e2eOpts := []e2e.SuiteOption{
e2e.WithStackName(fmt.Sprintf("operator-awskind-%s", common.K8sVersion)),
e2e.WithStackName(fmt.Sprintf("operator-awskind-%s", strings.ReplaceAll(common.K8sVersion, ".", "-"))),
e2e.WithProvisioner(provisioners.KubernetesProvisioner(provisionerOptions...)),
}

Expand Down
3 changes: 2 additions & 1 deletion test/e2e/tests/k8s_suite/kind_local_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/DataDog/datadog-operator/test/e2e/common"
"github.com/DataDog/datadog-operator/test/e2e/provisioners"
"github.com/DataDog/test-infra-definitions/components/datadog/operatorparams"
"strings"
"testing"
)

Expand Down Expand Up @@ -39,7 +40,7 @@ func TestLocalKindSuite(t *testing.T) {
}

e2eOpts := []e2e.SuiteOption{
e2e.WithStackName(fmt.Sprintf("operator-localkind-%s", common.K8sVersion)),
e2e.WithStackName(fmt.Sprintf("operator-localkind-%s", strings.ReplaceAll(common.K8sVersion, ".", "-"))),
e2e.WithProvisioner(provisioners.KubernetesProvisioner(provisionerOptions...)),
}

Expand Down

0 comments on commit 08c1c83

Please sign in to comment.