diff --git a/.pipelines/templates/run-unit-tests.yaml b/.pipelines/templates/run-unit-tests.yaml index 2e48ce7f31..3d8f18e7a3 100644 --- a/.pipelines/templates/run-unit-tests.yaml +++ b/.pipelines/templates/run-unit-tests.yaml @@ -39,9 +39,8 @@ stages: steps: # Only run one go test per script - script: | - set CGO_ENABLED=1 cd azure-container-networking/ - go test -race -timeout 30m ./npm/... ./cni/... ./platform/... + go test -timeout 30m ./npm/... ./cni/... ./platform/... retryCountOnTaskFailure: 3 name: "TestWindows" displayName: "Run Windows Tests" diff --git a/.pipelines/templates/unit-tests.stages.yaml b/.pipelines/templates/unit-tests.stages.yaml index e488827951..8ca81d06c9 100644 --- a/.pipelines/templates/unit-tests.stages.yaml +++ b/.pipelines/templates/unit-tests.stages.yaml @@ -52,9 +52,8 @@ stages: - checkout: ACNReviewChanges clean: true - script: | - set CGO_ENABLED=1 cd azure-container-networking/ - go test -race -timeout 30m ./npm/... ./cni/... ./platform/... + go test -timeout 30m ./npm/... ./cni/... ./platform/... retryCountOnTaskFailure: 3 name: "TestWindows" displayName: "Run Windows Tests"