Skip to content

Commit ce5e015

Browse files
committed
Add -DskipTests to dev docs (apache-spark-on-k8s#115)
* Add -DskipTests to dev docs * Remove extraneous skipTests
1 parent 1559dbb commit ce5e015

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resource-managers/kubernetes/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ important matters to keep in mind when developing this feature.
1717
To build Spark with Kubernetes support, use the `kubernetes` profile when invoking Maven. For example, to simply compile
1818
the Kubernetes core implementation module along with its dependencies:
1919

20-
build/mvn compile -Pkubernetes -pl resource-managers/kubernetes/core -am
20+
build/mvn compile -Pkubernetes -pl resource-managers/kubernetes/core -am -DskipTests
2121

2222
To build a distribution of Spark with Kubernetes support, use the `dev/make-distribution.sh` script, and add the
2323
`kubernetes` profile as part of the build arguments. Any other build arguments can be specified as one would expect when
@@ -47,7 +47,7 @@ Running any of the integration tests requires including `kubernetes-integration-
4747
order to prepare the environment for running the integration tests, the `pre-integration-test` step must be run in Maven
4848
on the `resource-managers/kubernetes/integration-tests` module:
4949

50-
build/mvn pre-integration-test -Pkubernetes -Pkubernetes-integration-tests -pl resource-managers/kubernetes/integration-tests -am
50+
build/mvn pre-integration-test -Pkubernetes -Pkubernetes-integration-tests -pl resource-managers/kubernetes/integration-tests -am -DskipTests
5151

5252
Afterwards, the integration tests can be executed with Maven or your IDE. Note that when running tests from an IDE, the
5353
`pre-integration-test` phase must be run every time the Spark main code changes. When running tests from the

0 commit comments

Comments
 (0)