File tree Expand file tree Collapse file tree 1 file changed +4
-18
lines changed
plugins/spark/v3.5/regtests Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -75,26 +75,12 @@ eval $(minikube -p minikube docker-env --unset)
7575Regression tests can be run locally as well, using the test harness. For local testing, both
7676Scala 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
9083Note: the regression tests expect Polaris to run with certain options, e.g. with support for ` FILE `
9184storage, default realm ` POLARIS ` and root credentials ` root:secret ` ; if you run the above command,
9285this will be the case. If you run Polaris in a different way, make sure that Polaris is configured
9386appropriately.
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- ```
You can’t perform that action at this time.
0 commit comments