From 300b9199b994ae943287a45cb6a81020c653d679 Mon Sep 17 00:00:00 2001 From: Samita B <98932546+samiib@users.noreply.github.com> Date: Wed, 15 May 2024 16:49:50 +1000 Subject: [PATCH] [ignore] Added race condition check to tests --- .github/workflows/checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 47c9dccac..03e864c8d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -76,7 +76,7 @@ jobs: terraform_version: '1.7.*' terraform_wrapper: false - name: Terraform Acceptance Test (APIC ${{ matrix.apic_host.name }}) - run: go test github.com/CiscoDevNet/terraform-provider-aci/v2/internal/provider -v -timeout 300m -coverprofile=coverage.out -covermode=atomic + run: go test github.com/CiscoDevNet/terraform-provider-aci/v2/internal/provider -v -p 1 -race -timeout 300m -coverprofile=coverage.out -covermode=atomic env: TF_ACC: '1' TF_ACC_STATE_LINEAGE: '1' @@ -87,4 +87,4 @@ jobs: if: ${{ matrix.apic_host.name == 'v6.0'}} uses: codecov/codecov-action@v4 with: - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }}