This repository was archived by the owner on Jan 9, 2020. It is now read-only.
This repository was archived by the owner on Jan 9, 2020. It is now read-only.
How to set spark.docker.test.persistMinikube when running the integration tests? #37
Closed
Description
When I run the k8s integration tests, the property spark.docker.test.persistMinikube
seems not respected.
build/mvn -Pkubernetes -Pkubernetes-integration-tests \
-pl resource-managers/kubernetes/integration-tests \
-Dtest=xxx -DwildcardSuites=org.apache.spark.deploy.kubernetes.integrationtest.KubernetesSuite \
-Dspark.docker.test.persistMinikube=true \
integration-test -am
But the minikube cluster is always deleted after the tests.
I also tried to run the tests with sbt, but since we haven't added sbt support for k8s modules, currently the command below doesn't work yet:
./build/sbt -Pkubernetes -Pkubernetes-integration-tests \
-Dspark.docker.test.persistMinikube=true \
"kubernetes-integration-tests/test-only org.apache.spark.deploy.kubernetes.integrationtest.KubernetesSuite"
Metadata
Metadata
Assignees
Labels
No labels