Skip to content

Commit c3747d6

Browse files
lhotarisrinath-ctds
authored andcommitted
[improve][ci] Disable detailed console logging for integration tests in CI (apache#24266)
(cherry picked from commit 03a1060) (cherry picked from commit a132b34)
1 parent 3ab1149 commit c3747d6

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
@@ -573,24 +573,28 @@ jobs:
573573

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

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

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

592595
- name: Shade on Java 21
593596
group: SHADE_RUN
597+
upload_name: SHADE_RUN_21
594598
runtime_jdk: 21
595599
setup: ./build/run_integration_group.sh SHADE_BUILD
596600
no_coverage: true
@@ -694,7 +698,7 @@ jobs:
694698
uses: actions/upload-artifact@v4
695699
if: ${{ !success() }}
696700
with:
697-
name: Integration-${{ matrix.group }}-surefire-reports
701+
name: Integration-${{ matrix.upload_name || matrix.group }}-surefire-reports
698702
path: surefire-reports
699703
retention-days: 7
700704

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

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)