Skip to content

Commit 55e97ea

Browse files
committed
updated readme
1 parent c777d2c commit 55e97ea

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ invoked if the `integration-test` phase is run.
4040
With Maven, the integration test can be run using the following command:
4141

4242
```
43+
$ mvn clean pre-integration-test \
44+
-Dspark-distro-tgz=spark/spark-2.3.0-SNAPSHOT-bin.tgz
4345
$ mvn clean integration-test \
4446
-Dspark-distro-tgz=spark/spark-2.3.0-SNAPSHOT-bin.tgz
4547
```
@@ -50,20 +52,23 @@ In order to run against any cluster, use the following:
5052
```sh
5153
$ mvn clean integration-test \
5254
-Dspark-distro-tgz=spark/spark-2.3.0-SNAPSHOT-bin.tgz \
53-
-DextraScalaTestArgs="-Dspark.kubernetes.test.master=k8s://https://<master> -Dspark.docker.test.driverImage=<driver-image> -Dspark.docker.test.executorImage=<executor-image>"
55+
-DextraScalaTestArgs="-Dspark.kubernetes.test.master=k8s://https://<master> \
56+
-Dspark.docker.test.driverImage=<driver-image> \
57+
-Dspark.docker.test.executorImage=<executor-image>
5458
```
5559
56-
# Reuse the previous Docker images
60+
# Specify existing docker images via image:tag
5761
5862
The integration tests build a number of Docker images, which takes some time.
5963
By default, the images are built every time the tests run. You may want to skip
6064
re-building those images during development, if the distribution package did not
6165
change since the last run. You can pass the property
62-
`spark.docker.test.skipBuildImages` to the test process.
66+
`spark.kubernetes.test.imageDockerTag` to the test process and specify the Docker
67+
image tag that is appropriate.
6368
Here is an example:
6469
6570
```
6671
$ mvn clean integration-test \
6772
-Dspark-distro-tgz=spark/spark-2.3.0-SNAPSHOT-bin.tgz \
68-
"-Dspark.docker.test.skipBuildImages=true"
73+
"-Dspark.kubernetes.test.imageDockerTag=latest"
6974
```

0 commit comments

Comments
 (0)