Skip to content

Commit

Permalink
Git tests fix (#2048)
Browse files Browse the repository at this point in the history
* make sure to set feature flag env var for tests

* fix import
  • Loading branch information
danbudris authored May 6, 2022
1 parent 327d443 commit e1fae51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/workload_clusters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/aws/eks-anywhere/internal/pkg/api"
"github.com/aws/eks-anywhere/pkg/api/v1alpha1"
"github.com/aws/eks-anywhere/pkg/features"
"github.com/aws/eks-anywhere/test/framework"
)

Expand Down Expand Up @@ -155,6 +156,7 @@ func TestDockerUpgradeWorkloadClusterWithGithubFlux(t *testing.T) {
api.WithControlPlaneCount(1),
api.WithWorkerNodeCount(1),
),
framework.WithEnvVar(features.GenericGitProviderEnvVar, "true"),
),
framework.NewClusterE2ETest(
t,
Expand All @@ -165,6 +167,7 @@ func TestDockerUpgradeWorkloadClusterWithGithubFlux(t *testing.T) {
api.WithControlPlaneCount(1),
api.WithWorkerNodeCount(1),
),
framework.WithEnvVar(features.GenericGitProviderEnvVar, "true"),
),
)
runWorkloadClusterFlowWithGitOps(
Expand Down Expand Up @@ -194,6 +197,7 @@ func TestVSphereUpgradeMulticlusterWorkloadClusterWithGithubFlux(t *testing.T) {
api.WithWorkerNodeCount(1),
api.WithStackedEtcdTopology(),
),
framework.WithEnvVar(features.GenericGitProviderEnvVar, "true"),
),
framework.NewClusterE2ETest(
t,
Expand All @@ -205,6 +209,7 @@ func TestVSphereUpgradeMulticlusterWorkloadClusterWithGithubFlux(t *testing.T) {
api.WithWorkerNodeCount(1),
api.WithStackedEtcdTopology(),
),
framework.WithEnvVar(features.GenericGitProviderEnvVar, "true"),
),
)
runWorkloadClusterFlowWithGitOps(
Expand Down

0 comments on commit e1fae51

Please sign in to comment.