Skip to content

Dev Guide

shiyuhang0 edited this page May 11, 2022 · 7 revisions

How to test

We need to deploy the TiDB cluster before running tests

  • You can use TiUP to set up the TiDB cluster which allows you to run tests across different platforms.

  • You can also use docker-compose

For the second method, you can use docker-compose up -d to launch the TiDB cluster service under the home directory of TiSpark. To see the logs of the TiDB cluster, launch the TiDB cluster service via docker-compose up. To shut down the entire TiDB cluster service, use docker-compose down. All the data is stored in the data directory at the root of this project. You can change it as you like.

For more details about the test, see here.

Clone this wiki locally