Skip to content

Commit 926c731

Browse files
lhotariganesh-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 7cc2fe7)
1 parent 5f92313 commit 926c731

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/pulsar-ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,18 +486,21 @@ jobs:
486486

487487
- name: Shade on Java 8
488488
group: SHADE_RUN
489+
upload_name: SHADE_RUN_8
489490
runtime_jdk: 8
490491
setup: ./build/run_integration_group.sh SHADE_BUILD
491492
no_coverage: true
492493

493494
- name: Shade on Java 11
494495
group: SHADE_RUN
496+
upload_name: SHADE_RUN_11
495497
runtime_jdk: 11
496498
setup: ./build/run_integration_group.sh SHADE_BUILD
497499
no_coverage: true
498500

499501
- name: Shade on Java 17
500502
group: SHADE_RUN
503+
upload_name: SHADE_RUN_17
501504
setup: ./build/run_integration_group.sh SHADE_BUILD
502505
no_coverage: true
503506

@@ -594,7 +597,7 @@ jobs:
594597
uses: actions/upload-artifact@v4
595598
if: ${{ !success() }}
596599
with:
597-
name: Integration-${{ matrix.group }}-surefire-reports
600+
name: Integration-${{ matrix.upload_name || matrix.group }}-surefire-reports
598601
path: surefire-reports
599602
retention-days: 7
600603

@@ -603,7 +606,7 @@ jobs:
603606
if: ${{ !success() }}
604607
continue-on-error: true
605608
with:
606-
name: Integration-${{ matrix.group }}-container-logs
609+
name: Integration-${{ matrix.upload_name || matrix.group }}-container-logs
607610
path: tests/integration/target/container-logs
608611
retention-days: 7
609612

build/run_integration_group.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ mvn_run_integration_test() {
9999
if [[ $build_only -ne 1 ]]; then
100100
echo "::group::Run tests for " "$@"
101101
# use "verify" instead of "test"
102-
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 "$@"
102+
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 "$@"
103103
echo "::endgroup::"
104104
set +x
105105
"$SCRIPT_DIR/pulsar_ci_tool.sh" move_test_reports || true

0 commit comments

Comments
 (0)