mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
PR#15466 skipped the Java unit tests as on the `main` and `8.11`
branches they attempted to run sonar scans (which are only meant to
run for PRs).
This commit re-enables the Java unit tests, taking advantage of #15486,
disabling the sonar scan part of the test suite.
(cherry picked from commit 16da966290
)
Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
This commit is contained in:
parent
46e4e3917a
commit
f272d71480
1 changed files with 9 additions and 8 deletions
|
@ -16,15 +16,16 @@ steps:
|
||||||
source .buildkite/scripts/common/vm-agent.sh
|
source .buildkite/scripts/common/vm-agent.sh
|
||||||
ci/unit_tests.sh ruby
|
ci/unit_tests.sh ruby
|
||||||
|
|
||||||
### Temporarily disable since sonar scans imply pull request context
|
- label: ":java: Java unit tests"
|
||||||
# - label: ":java: Java unit tests"
|
key: "java-unit-tests"
|
||||||
# key: "java-unit-tests"
|
env:
|
||||||
# command: |
|
# https://github.com/elastic/logstash/pull/15486 for background
|
||||||
# set -euo pipefail
|
ENABLE_SONARQUBE: "false"
|
||||||
|
command: |
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
# source .buildkite/scripts/common/vm-agent.sh
|
source .buildkite/scripts/common/vm-agent.sh
|
||||||
# source .buildkite/scripts/pull-requests/sonar-env.sh
|
ci/unit_tests.sh java
|
||||||
# ci/unit_tests.sh java
|
|
||||||
|
|
||||||
- label: ":lab_coat: Integration Tests / part 1"
|
- label: ":lab_coat: Integration Tests / part 1"
|
||||||
key: "integration-tests-part-1"
|
key: "integration-tests-part-1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue