From 16da966290002d8bc126fc532f1f5f7b9e4b1302 Mon Sep 17 00:00:00 2001 From: Dimitrios Liappis Date: Tue, 24 Oct 2023 18:05:14 +0300 Subject: [PATCH] [ci] re-enable Java unit tests on aarch64 pipeline (#15492) 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. --- .buildkite/aarch64_pipeline.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.buildkite/aarch64_pipeline.yml b/.buildkite/aarch64_pipeline.yml index 9bff1a74554..dcaafa799da 100644 --- a/.buildkite/aarch64_pipeline.yml +++ b/.buildkite/aarch64_pipeline.yml @@ -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"