Skip to content

Commit a5f0ec2

Browse files
committed
[improve][ci] Disable detailed console logging for integration tests in CI (#24266)
(cherry picked from commit 03a1060)
1 parent b4a4d59 commit a5f0ec2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/pulsar-ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,24 +572,28 @@ jobs:
572572

573573
- name: Shade on Java 8
574574
group: SHADE_RUN
575+
upload_name: SHADE_RUN_8
575576
runtime_jdk: 8
576577
setup: ./build/run_integration_group.sh SHADE_BUILD
577578
no_coverage: true
578579

579580
- name: Shade on Java 11
580581
group: SHADE_RUN
582+
upload_name: SHADE_RUN_11
581583
runtime_jdk: 11
582584
setup: ./build/run_integration_group.sh SHADE_BUILD
583585
no_coverage: true
584586

585587
- name: Shade on Java 17
586588
group: SHADE_RUN
589+
upload_name: SHADE_RUN_17
587590
runtime_jdk: 17
588591
setup: ./build/run_integration_group.sh SHADE_BUILD
589592
no_coverage: true
590593

591594
- name: Shade on Java 21
592595
group: SHADE_RUN
596+
upload_name: SHADE_RUN_21
593597
runtime_jdk: 21
594598
setup: ./build/run_integration_group.sh SHADE_BUILD
595599
no_coverage: true
@@ -690,7 +694,7 @@ jobs:
690694
uses: actions/upload-artifact@v4
691695
if: ${{ !success() }}
692696
with:
693-
name: Integration-${{ matrix.group }}-surefire-reports
697+
name: Integration-${{ matrix.upload_name || matrix.group }}-surefire-reports
694698
path: surefire-reports
695699
retention-days: 7
696700

@@ -699,7 +703,7 @@ jobs:
699703
if: ${{ !success() }}
700704
continue-on-error: true
701705
with:
702-
name: Integration-${{ matrix.group }}-container-logs
706+
name: Integration-${{ matrix.upload_name || matrix.group }}-container-logs
703707
path: tests/integration/target/container-logs
704708
retention-days: 7
705709

build/run_integration_group.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ mvn_run_integration_test() {
100100
if [[ $build_only -ne 1 ]]; then
101101
echo "::group::Run tests for " "$@"
102102
# use "verify" instead of "test"
103-
mvn -B -ntp -pl "$modules" $failfast_args $coverage_args -DskipDocker -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true -DredirectTestOutputToFile=false $clean_arg verify "$@"
103+
mvn -B -ntp -pl "$modules" $failfast_args $coverage_args -DskipDocker -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true $clean_arg verify "$@"
104104
echo "::endgroup::"
105105
set +x
106106
"$SCRIPT_DIR/pulsar_ci_tool.sh" move_test_reports || true

0 commit comments

Comments
 (0)