dongjoon-hyun opened a new pull request #27566: [SPARK-30816][K8S][TESTS] Fix 
dev-run-integration-tests.sh to ignore empty params
URL: https://github.com/apache/spark/pull/27566
 
 
   ### What changes were proposed in this pull request?
   
   This PR aims to fix `dev-run-integration-tests.sh` to ignore empty params 
correctly.
   
   ### Why are the changes needed?
   
   The following script run `mvn` integration test like the following.
   ```
   $ 
resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh
   ...
   build/mvn integration-test 
   -f /Users/dongjoon/APACHE/spark/pom.xml 
   -pl resource-managers/kubernetes/integration-tests 
   -am
   -Pscala-2.12
   -Pkubernetes
   -Pkubernetes-integration-tests 
   -Djava.version=8 
   -Dspark.kubernetes.test.sparkTgz=N/A 
   -Dspark.kubernetes.test.imageTag=N/A 
   -Dspark.kubernetes.test.imageRepo=docker.io/kubespark 
   -Dspark.kubernetes.test.deployMode=minikube 
   -Dtest.include.tags=k8s 
   -Dspark.kubernetes.test.namespace= 
   -Dspark.kubernetes.test.serviceAccountName= 
   -Dspark.kubernetes.test.kubeConfigContext= 
   -Dspark.kubernetes.test.master= 
   -Dtest.exclude.tags= 
   -Dspark.kubernetes.test.jvmImage=spark 
   -Dspark.kubernetes.test.pythonImage=spark-py 
   -Dspark.kubernetes.test.rImage=spark-r
   ```
   
   After this PR, the empty parameters like the following will be skipped like 
the original design.
   ```
   -Dspark.kubernetes.test.namespace= 
   -Dspark.kubernetes.test.serviceAccountName= 
   -Dspark.kubernetes.test.kubeConfigContext= 
   -Dspark.kubernetes.test.master= 
   -Dtest.exclude.tags= 
   ```
   
   ### Does this PR introduce any user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the Jenkins K8S integration test.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to