pan3793 commented on code in PR #8452:
URL: https://github.com/apache/hadoop/pull/8452#discussion_r3124741668
##########
.github/workflows/tmpl_build_and_test.yml:
##########
@@ -155,3 +156,139 @@ jobs:
- name: Build
shell: bash
run: ./mvnw $MAVEN_ARGS clean install -DskipTests
+ build-and-test:
+ if: (!cancelled()) && contains(fromJSON(inputs.jobs), 'build-and-test')
+ name: Test ${{ matrix.comment }} (Java ${{ inputs.java }}) ${{ inputs.os
}}-${{ inputs.branch }}
+ runs-on: ubuntu-24.04
+ needs: [ precondition, build-image ]
+ container:
+ image: ${{ needs.precondition.outputs.build_image_url }}
+ options: --user ${{ needs.build-image.outputs.uid }}
+ strategy:
+ fail-fast: false
+ max-parallel: 6
+ matrix:
+ include:
+ - comment: hdfs
+ modules:
+ -pl :hadoop-hdfs
Review Comment:
okay, it actually takes 5 hours to complete (with ~30 tests excluded).
I split it into 2 groups:
- slow, ~70 classes, which single test class takes more than 60s, all of
them take ~150min
- other, the rest of them
hope it can be completed in 2.5 hours next round
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]