Skip to content

Commit 075b4c0

Browse files
committed
address comments
1 parent b517f30 commit 075b4c0

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

plugins/spark/v3.5/regtests/README.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,26 +75,12 @@ eval $(minikube -p minikube docker-env --unset)
7575
Regression tests can be run locally as well, using the test harness. For local testing, both
7676
Scala 2.12 and Scala 2.13 are supported.
7777

78-
Before you run the test, make sure you build the project to generate the Spark client jars.
79-
```shell
80-
./gradlew build
81-
```
82-
83-
In this setup, a Polaris server must be running on localhost:8181 before running tests. The simplest
84-
way to do this is to run the Polaris server in a separate terminal window:
85-
86-
```shell
87-
./gradlew run
88-
```
78+
To run regression tests locally, run the following:
79+
- `./gradlew build` -- build the Polaris project and Spark Client jars.
80+
- `./gradlew run` -- start a Polaris server on localhost:8181.
81+
- `env POLARIS_HOST=localhost ./plugins/spark/v3.5/regtests/run.sh` -- run regtests.
8982

9083
Note: the regression tests expect Polaris to run with certain options, e.g. with support for `FILE`
9184
storage, default realm `POLARIS` and root credentials `root:secret`; if you run the above command,
9285
this will be the case. If you run Polaris in a different way, make sure that Polaris is configured
9386
appropriately.
94-
95-
Running the test harness will automatically run the idempotent setup script. From the root of the
96-
project, just run:
97-
98-
```shell
99-
env POLARIS_HOST=localhost ./plugins/spark/v3.5/regtests/run.sh
100-
```

0 commit comments

Comments
 (0)