vinothchandar commented on code in PR #10646:
URL: https://github.com/apache/hudi/pull/10646#discussion_r1498669080
##########
azure-pipelines-20230430.yml:
##########
@@ -171,65 +135,20 @@ stages:
- script: |
grep "testcase" */target/surefire-reports/*.xml
*/*/target/surefire-reports/*.xml | awk -F'"' ' { print $6,$4,$2 } ' | sort -nr
| head -n 100
displayName: Top 100 long-running testcases
- - job: UT_FT_3
- displayName: UT spark-datasource
- timeoutInMinutes: '240'
- steps:
- - task: Maven@4
- displayName: maven install
+ - task: PublishTestResults@2
inputs:
- mavenPomFile: 'pom.xml'
- goals: 'clean install'
- options: $(MVN_OPTS_INSTALL)
- publishJUnitResults: true
- testResultsFiles: '**/surefire-reports/TEST-*.xml'
- jdkVersionOption: '1.8'
- - task: Maven@4
- displayName: UT spark-datasource
- inputs:
- mavenPomFile: 'pom.xml'
- goals: 'test'
- options: $(MVN_OPTS_TEST) -Punit-tests -pl $(JOB3_MODULES)
- publishJUnitResults: true
- testResultsFiles: '**/surefire-reports/TEST-*.xml'
- jdkVersionOption: '1.8'
- mavenOptions: '-Xmx4g'
- - script: |
- grep "testcase" */target/surefire-reports/*.xml
*/*/target/surefire-reports/*.xml | awk -F'"' ' { print $6,$4,$2 } ' | sort -nr
| head -n 100
- displayName: Top 100 long-running testcases
- - job: UT_FT_4
- displayName: UT FT other modules
- timeoutInMinutes: '240'
- steps:
- - task: Maven@4
- displayName: maven install
- inputs:
- mavenPomFile: 'pom.xml'
- goals: 'clean install'
- options: $(MVN_OPTS_INSTALL)
- publishJUnitResults: true
- testResultsFiles: '**/surefire-reports/TEST-*.xml'
- jdkVersionOption: '1.8'
- - task: Maven@4
- displayName: UT other modules
+ testResultsFiles:
'$(System.DefaultWorkingDirectory)/**/target/surefire-reports/*.xml'
+ - task: reportgenerator@5
+ displayName: ReportGenerator
inputs:
- mavenPomFile: 'pom.xml'
- goals: 'test'
- options: $(MVN_OPTS_TEST) -Punit-tests -pl $(JOB4_UT_MODULES)
- publishJUnitResults: true
- testResultsFiles: '**/surefire-reports/TEST-*.xml'
- jdkVersionOption: '1.8'
- mavenOptions: '-Xmx4g'
- - task: Maven@4
- displayName: FT other modules
+ reports:
'$(System.DefaultWorkingDirectory)/**/target/site/*/jacoco.xml'
Review Comment:
seems like the configuration reports jacoco to jacoco-ut and jacoco-ft for
unit and functional tests. Would this cover both cases?
--
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]