- Prepare your Spark and TiDB cluster environment, it is recommended to use our docker-compose script to deploy a TiDB cluster locally, or you may prefer other ways to set up an appropriate test environment.
- You can modify test configuration placed in tidb_config.properties.template, copy this template as tidb_config.properties and config this file according to your environment.
- Run
mvn test
to run all tests.
You can change your test configuration in core/src/test/resources/tidb_config.properties
according to core/src/test/resources/tidb_config.properties.template
.