diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 88eddcc3dc12..cd75e28dae24 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,6 +33,7 @@ stages: jobs: - job: UT_FT_1 displayName: UT FT common & flink & UT client/spark-client + timeoutInMinutes: '90' steps: - task: Cache@2 displayName: set cache @@ -71,6 +72,7 @@ stages: mavenOptions: '-Xmx2g $(MAVEN_OPTS)' - job: UT_FT_2 displayName: FT client/spark-client + timeoutInMinutes: '90' steps: - task: Cache@2 displayName: set cache @@ -100,6 +102,7 @@ stages: mavenOptions: '-Xmx2g $(MAVEN_OPTS)' - job: UT_FT_3 displayName: UT FT clients & cli & utilities & sync/hive-sync + timeoutInMinutes: '90' steps: - task: Cache@2 displayName: set cache @@ -138,6 +141,7 @@ stages: mavenOptions: '-Xmx2g $(MAVEN_OPTS)' - job: UT_FT_4 displayName: UT FT other modules + timeoutInMinutes: '90' steps: - task: Cache@2 displayName: set cache diff --git a/pom.xml b/pom.xml index 51c501721bdd..aa3ea59fabd0 100644 --- a/pom.xml +++ b/pom.xml @@ -316,19 +316,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - @{argLine} - - - ${surefire-log4j.file} - - - - org.apache.maven.plugins maven-failsafe-plugin @@ -355,6 +342,20 @@ + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + 3 + @{argLine} + + + ${surefire-log4j.file} + + + + org.apache.maven.plugins maven-jar-plugin @@ -1167,6 +1168,7 @@ org.apache.maven.plugins maven-surefire-plugin + ${maven-surefire-plugin.version} org.junit.jupiter @@ -1221,6 +1223,7 @@ org.apache.maven.plugins maven-surefire-plugin + ${maven-surefire-plugin.version} org.apache.maven.surefire @@ -1273,6 +1276,7 @@ org.apache.maven.plugins maven-surefire-plugin + ${maven-surefire-plugin.version} ${skipUTs}