diff --git a/.github/workflows/pre.yml b/.github/workflows/pre.yml index b0baa4d862..59dea60b70 100644 --- a/.github/workflows/pre.yml +++ b/.github/workflows/pre.yml @@ -50,27 +50,27 @@ jobs: - name: build run: make build - unit: - name: unit - runs-on: ubuntu-latest - steps: - - name: checkout code - uses: actions/checkout@v5 - - name: install Go - uses: actions/setup-go@v5 - with: - go-version: ${{ env.GO_VERSION }} - - name: unit - run: make test - - name: report coverage - uses: codecov/codecov-action@v5 - with: - token: ${{ secrets.CODECOV_UPLOAD_TOKEN }} - files: ./coverage.out - flags: unit - name: unit - verbose: true - fail_ci_if_error: false + # unit: + # name: unit + # runs-on: ubuntu-latest + # steps: + # - name: checkout code + # uses: actions/checkout@v5 + # - name: install Go + # uses: actions/setup-go@v5 + # with: + # go-version: ${{ env.GO_VERSION }} + # - name: unit + # run: make test + # - name: report coverage + # uses: codecov/codecov-action@v5 + # with: + # token: ${{ secrets.CODECOV_UPLOAD_TOKEN }} + # files: ./coverage.out + # flags: unit + # name: unit + # verbose: true + # fail_ci_if_error: false integration: name: integration @@ -83,4 +83,4 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: integration - run: make test-integration + run: ARGS="-test.v" make test-registration-integration diff --git a/test/integration-test.mk b/test/integration-test.mk index 7eac078ed6..fc1bdcfcb5 100644 --- a/test/integration-test.mk +++ b/test/integration-test.mk @@ -31,7 +31,7 @@ build-work-integration: test-registration-integration: ensure-kubebuilder-tools go test -c ./test/integration/registration -o ./registration-integration.test - ./registration-integration.test -ginkgo.slow-spec-threshold=15s -ginkgo.v -ginkgo.fail-fast ${ARGS} + ./registration-integration.test -ginkgo.slow-spec-threshold=15s -ginkgo.v -ginkgo.fail-fast --ginkgo.focus "Joining Process for aws flow" ${ARGS} .PHONY: test-registration-integration test-work-integration: ensure-kubebuilder-tools build-work-integration diff --git a/test/integration/registration/spokecluster_aws_joining_test.go b/test/integration/registration/spokecluster_aws_joining_test.go index 5367f63f33..b7f4f8bf26 100644 --- a/test/integration/registration/spokecluster_aws_joining_test.go +++ b/test/integration/registration/spokecluster_aws_joining_test.go @@ -257,6 +257,7 @@ var _ = ginkgo.Describe("Joining Process for aws flow", ginkgo.Ordered, func() { cancel := runAgent("joiningtest", agentOptions, commOptions, spokeCfg) defer cancel() + fmt.Printf("testing flaky test attempt 2\n") // The ManagedCluster CR should be created gomega.Eventually(func() error { _, err := util.GetManagedCluster(clusterClient, managedClusterName)