Skip to content

Commit 48c2688

Browse files
authored
fix(invoke-unit-tests): Do not run the invoke unit tests on source_tests (#40192)
### What does this PR do? - Prevent running the "basic" `invoke-unit-test.run` on go source tests. They are launched during the `tooling_unit_test` job and are not platform specific. - Run an `agent.build` instead, like it's done on other platforms. ### Motivation Prevent unexpected failure of invoke unit tests [during the agent go tests](https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/1095803050). ### Describe how you validated your changes UT in the CI are green
1 parent 8846a8e commit 48c2688

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.gitlab/source_test/macos.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ include:
1919
- dda inv -- -e gitlab.generate-ci-visibility-links --output=$EXTERNAL_LINKS_PATH
2020
- FAST_TESTS_FLAG=""
2121
- if [[ "$FAST_TESTS" == "true" ]]; then FAST_TESTS_FLAG="--only-impacted-packages"; fi
22+
- dda inv -- -e agent.build
2223
- dda inv -- -e test --rerun-fails=2 --race --profile --cpus 12 --result-json $TEST_OUTPUT_FILE --junit-tar "junit-${CI_JOB_NAME}.tgz" $FAST_TESTS_FLAG --test-washer --coverage
23-
- dda self dep sync -f legacy-kernel-matrix-testing
24-
- dda inv --feat legacy-kernel-matrix-testing -- -e invoke-unit-tests
2524
after_script:
2625
- !reference [.vault_login]
2726
- !reference [.install_python_dependencies]

0 commit comments

Comments
 (0)