Skip to content

Commit

Permalink
[ci] re-enable Java unit tests on aarch64 pipeline (#15492)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dliappis authored Oct 24, 2023
1 parent b1ab2fa commit 16da966
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .buildkite/aarch64_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ steps:
source .buildkite/scripts/common/vm-agent.sh
ci/unit_tests.sh ruby
### Temporarily disable since sonar scans imply pull request context
# - label: ":java: Java unit tests"
# key: "java-unit-tests"
# command: |
# set -euo pipefail

# source .buildkite/scripts/common/vm-agent.sh
# source .buildkite/scripts/pull-requests/sonar-env.sh
# ci/unit_tests.sh java
- label: ":java: Java unit tests"
key: "java-unit-tests"
env:
# https://github.com/elastic/logstash/pull/15486 for background
ENABLE_SONARQUBE: "false"
command: |
set -euo pipefail
source .buildkite/scripts/common/vm-agent.sh
ci/unit_tests.sh java
- label: ":lab_coat: Integration Tests / part 1"
key: "integration-tests-part-1"
Expand Down

0 comments on commit 16da966

Please sign in to comment.