Skip to content

Commit 2fde1d5

Browse files
committed
Update
1 parent 5fc9226 commit 2fde1d5

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ e2e-tests-sequential-ginkgo: ginkgo ## Runs kuttl e2e sequential tests
166166
.PHONY: e2e-tests-parallel-ginkgo ## Runs kuttl e2e parallel tests, (Defaults to 5 runs at a time)
167167
e2e-tests-parallel-ginkgo: ginkgo
168168
@echo "Running GitOps Operator parallel Ginkgo E2E tests..."
169-
$(GINKGO_CLI) -p --trace --timeout 30m -procs=5 --slow-spec-threshold=5m -v -r ./test/openshift/e2e/ginkgo/parallel
169+
$(GINKGO_CLI) -p -v -procs=5 --trace --timeout 30m -r ./test/openshift/e2e/ginkgo/parallel
170170

171171
.PHONY: e2e-tests-sequential
172172
e2e-tests-sequential:
@@ -277,7 +277,7 @@ kustomize: ## Download kustomize locally if necessary.
277277
GINKGO_CLI = $(shell pwd)/bin/ginkgo
278278
.PHONY: ginkgo
279279
ginkgo: ## Download ginkgo locally if necessary.
280-
$(call go-get-tool,$(GINKGO_CLI),github.com/onsi/ginkgo/v2/ginkgo@v2.1.5)
280+
$(call go-get-tool,$(GINKGO_CLI),github.com/onsi/ginkgo/v2/ginkgo@v2.22.2)
281281

282282

283283
# go-get-tool will 'go install' any package $2 and install it to $1.

test/e2e/argocd_metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var _ = Describe("Argo CD metrics controller", func() {
6060
Context("Check if monitoring resources are created", func() {
6161
It("Role is created", func() {
6262

63-
openShiftGitOpsArgoCD := argov1beta1api.ArgoCD{
63+
openShiftGitOpsArgoCD := &argov1beta1api.ArgoCD{
6464
ObjectMeta: metav1.ObjectMeta{Name: "openshift-gitops", Namespace: "openshift-gitops"},
6565
}
6666
Eventually(openShiftGitOpsArgoCD, "5m", "5s").Should(argocdFixture.BeAvailable())

test/openshift/e2e/ginkgo/fixture/statefulset/fixture.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,13 @@ func fetchStatefulSet(f func(*appsv1.StatefulSet) bool) matcher.GomegaMatcher {
263263

264264
k8sClient, _, err := utils.GetE2ETestKubeClientWithError()
265265
if err != nil {
266-
GinkgoWriter.Println(err)
266+
GinkgoWriter.Println("fetchStatefulSet:", err)
267267
return false
268268
}
269269

270270
err = k8sClient.Get(context.Background(), client.ObjectKeyFromObject(ss), ss)
271271
if err != nil {
272-
GinkgoWriter.Println(err)
272+
GinkgoWriter.Println("fetchStatefulSet:", err)
273273
return false
274274
}
275275

test/openshift/e2e/ginkgo/parallel/1-063_validate_statefulset_restart_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ var _ = Describe("GitOps Operator Parallel E2E Tests", func() {
5252
By("creating simple namespace-scoped Argo CD instance")
5353
ns, cleanupFunc := fixture.CreateRandomE2ETestNamespaceWithCleanupFunc()
5454
defer cleanupFunc()
55+
defer fixture.OutputDebugOnFail()
5556

5657
argoCD := &argov1beta1api.ArgoCD{
5758
ObjectMeta: metav1.ObjectMeta{Name: "example-argocd", Namespace: ns.Name},

0 commit comments

Comments
 (0)