Skip to content
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
@lins05

Description

@lins05

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions