From 46de9e0f3fd0ff5e33c8e37c6bb9dc5d6ae6d214 Mon Sep 17 00:00:00 2001 From: Raymond Xu <2701446+xushiyan@users.noreply.github.com> Date: Fri, 30 Apr 2021 11:17:36 -0700 Subject: [PATCH] [HUDI-1810] Fix azure setting for integ tests (#2889) --- azure-pipelines.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 99b1caca7..e75e1b3bd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,7 +27,6 @@ variables: SPARK_VERSION: '2.4.4' HADOOP_VERSION: '2.7' SPARK_HOME: $(Pipeline.Workspace)/spark-$(SPARK_VERSION)-bin-hadoop$(HADOOP_VERSION) - SKIP_IT: true stages: - stage: test @@ -144,22 +143,10 @@ stages: jdkArchitectureOption: 'x64' mavenOptions: '-Xmx2g $(MAVEN_OPTS)' - job: integration_tests - condition: eq(variables.SKIP_IT, false) steps: - script: | echo 'Downloading spark-$(SPARK_VERSION)-bin-hadoop$(HADOOP_VERSION)' - wget http://archive.apache.org/dist/spark/spark-$(SPARK_VERSION)/spark-$(SPARK_VERSION)-bin-hadoop$(HADOOP_VERSION).tgz -O /tmp/spark-$(SPARK_VERSION).tgz - tar -xvf /tmp/spark-$(SPARK_VERSION).tgz + wget https://archive.apache.org/dist/spark/spark-$(SPARK_VERSION)/spark-$(SPARK_VERSION)-bin-hadoop$(HADOOP_VERSION).tgz -O $(Pipeline.Workspace)/spark-$(SPARK_VERSION).tgz + tar -xvf $(Pipeline.Workspace)/spark-$(SPARK_VERSION).tgz -C $(Pipeline.Workspace)/ mkdir /tmp/spark-events/ - - task: Maven@3 - inputs: - mavenPomFile: 'pom.xml' - goals: 'verify' - options: -Pintegration-tests - publishJUnitResults: false - testResultsFiles: '**/surefire-reports/TEST-*.xml' - testRunTitle: 'unit tests utilities' - javaHomeOption: 'JDKVersion' - jdkVersionOption: '1.8' - jdkArchitectureOption: 'x64' - mavenOptions: '-Xmx2g $(MAVEN_OPTS)' + mvn -Pintegration-tests verify