Skip to content

Commit

Permalink
fix: resolve the failing e2e appset tests for ksonnet applications (a…
Browse files Browse the repository at this point in the history
…rgoproj#21580)

Signed-off-by: reggie-k <[email protected]>
  • Loading branch information
reggie-k authored Jan 21, 2025
1 parent e3caeba commit 6f38327
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions test/e2e/applicationset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,6 @@ func TestSimpleGitDirectoryGenerator(t *testing.T) {
expectedApps := []v1alpha1.Application{
generateExpectedApp("kustomize-guestbook"),
generateExpectedApp("helm-guestbook"),
generateExpectedApp("ksonnet-guestbook"),
}

var expectedAppsNewNamespace []v1alpha1.Application
Expand Down Expand Up @@ -1269,7 +1268,6 @@ func TestSimpleGitDirectoryGeneratorGoTemplate(t *testing.T) {
expectedApps := []v1alpha1.Application{
generateExpectedApp("kustomize-guestbook"),
generateExpectedApp("helm-guestbook"),
generateExpectedApp("ksonnet-guestbook"),
}

var expectedAppsNewNamespace []v1alpha1.Application
Expand Down
6 changes: 0 additions & 6 deletions test/e2e/matrix_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ func TestListMatrixGenerator(t *testing.T) {
expectedApps := []v1alpha1.Application{
generateExpectedApp("cluster1", "kustomize-guestbook"),
generateExpectedApp("cluster1", "helm-guestbook"),
generateExpectedApp("cluster1", "ksonnet-guestbook"),

generateExpectedApp("cluster2", "kustomize-guestbook"),
generateExpectedApp("cluster2", "helm-guestbook"),
generateExpectedApp("cluster2", "ksonnet-guestbook"),
}

var expectedAppsNewNamespace []v1alpha1.Application
Expand Down Expand Up @@ -169,11 +167,9 @@ func TestClusterMatrixGenerator(t *testing.T) {
expectedApps := []v1alpha1.Application{
generateExpectedApp("cluster1", "kustomize-guestbook"),
generateExpectedApp("cluster1", "helm-guestbook"),
generateExpectedApp("cluster1", "ksonnet-guestbook"),

generateExpectedApp("cluster2", "kustomize-guestbook"),
generateExpectedApp("cluster2", "helm-guestbook"),
generateExpectedApp("cluster2", "ksonnet-guestbook"),
}

var expectedAppsNewNamespace []v1alpha1.Application
Expand Down Expand Up @@ -297,12 +293,10 @@ func TestMatrixTerminalMatrixGeneratorSelector(t *testing.T) {
expectedApps1 := []v1alpha1.Application{
generateExpectedApp("cluster1", "kustomize-guestbook"),
generateExpectedApp("cluster1", "helm-guestbook"),
generateExpectedApp("cluster1", "ksonnet-guestbook"),
}
expectedApps2 := []v1alpha1.Application{
generateExpectedApp("cluster2", "kustomize-guestbook"),
generateExpectedApp("cluster2", "helm-guestbook"),
generateExpectedApp("cluster2", "ksonnet-guestbook"),
}

Given(t).
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/merge_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,9 @@ func TestClusterMergeGenerator(t *testing.T) {
expectedApps := []v1alpha1.Application{
generateExpectedApp("cluster1", "kustomize-guestbook", "1"),
generateExpectedApp("cluster1", "helm-guestbook", "0"),
generateExpectedApp("cluster1", "ksonnet-guestbook", "0"),

generateExpectedApp("cluster2", "kustomize-guestbook", "0"),
generateExpectedApp("cluster2", "helm-guestbook", "2"),
generateExpectedApp("cluster2", "ksonnet-guestbook", "0"),
}

var expectedAppsNewNamespace []v1alpha1.Application
Expand Down

0 comments on commit 6f38327

Please sign in to comment.