You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by xu...@apache.org on 2022/09/05 15:18:09 UTC

[hudi] branch master updated: [HUDI-4694] Print testcase running time for CI jobs (#6586)

This is an automated email from the ASF dual-hosted git repository.

xushiyan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ffa1f74ea [HUDI-4694] Print testcase running time for CI jobs (#6586)
2ffa1f74ea is described below

commit 2ffa1f74eaa9a62aeea63e2fa43fd5d296b31bf0
Author: Shiyan Xu <27...@users.noreply.github.com>
AuthorDate: Mon Sep 5 08:18:02 2022 -0700

    [HUDI-4694] Print testcase running time for CI jobs (#6586)
---
 azure-pipelines.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 75dc6b48b5..4401ba6236 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -117,6 +117,9 @@ stages:
               publishJUnitResults: false
               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_2
         displayName: FT client/spark-client
         timeoutInMinutes: '150'
@@ -138,6 +141,9 @@ stages:
               publishJUnitResults: false
               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_3
         displayName: UT FT clients & cli & utilities & sync
         timeoutInMinutes: '150'
@@ -168,6 +174,9 @@ stages:
               publishJUnitResults: false
               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: '150'
@@ -198,6 +207,9 @@ stages:
               publishJUnitResults: false
               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: IT
         displayName: IT modules
         timeoutInMinutes: '150'