From 50820e1e91273486346c00fd65afb46d6aef3858 Mon Sep 17 00:00:00 2001 From: asararatnakar Date: Tue, 25 Oct 2022 22:36:54 -0400 Subject: [PATCH] Upgrading ginkgo to v2 Signed-off-by: asararatnakar --- .github/workflows/integration-tests.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 50a712c0..f2aeb2ef 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -60,7 +60,7 @@ jobs: - name: Set up ginkgo run: | - go get github.com/onsi/ginkgo/ginkgo + go get github.com/onsi/ginkgo/v2/ginkgo@latest go get github.com/onsi/gomega/... - name: Set up KIND k8s cluster diff --git a/Makefile b/Makefile index b3f8e106..2025ba76 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ unkind: # Run integration tests. Target a specific test package by specifying INT_TEST in the make env. # If INT_TEST is unspecified, run ALL tests (slow!!) integration-tests: - ginkgo -v -failFast -timeout $(INT_TEST_TIMEOUT) ./integration/$(INT_TEST_NAME) + ginkgo -v --fail-fast -timeout $(INT_TEST_TIMEOUT) ./integration/$(INT_TEST_NAME) # Run go fmt against code fmt: