Files
dolt/integration-tests/mysql-client-tests
dependabot[bot] 62d9d0b4f7 Bump mysql2 in /integration-tests/mysql-client-tests/node
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.9.7 to 3.9.8.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.9.7...v3.9.8)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 20:49:29 +00:00
..
2023-01-03 02:13:37 -08:00
2023-01-03 02:13:37 -08:00
2023-01-03 02:13:37 -08:00
2023-01-03 02:13:37 -08:00
2023-01-03 02:13:37 -08:00
2023-07-10 15:45:01 -07:00
2022-11-09 11:35:53 -08:00

MySQL Client Tests

We created smoke tests for Dolt's MySQL client integrations and we run these tests through GitHub Actions on pull requests.

These tests can be run locally using Docker. Before you can build the image, you also need to copy the go folder into the integration-tests folder; unfortunately just symlinking doesn't seem to work. From the integration-tests directory of the dolt repo, run:

$ cp -r ../go . 
$ docker build -t mysql-client-tests -f MySQLDockerfile .
$ docker run mysql-client-tests:latest

The docker build step will take a few minutes to complete as it needs to install all the dependencies in the image.

Running the built container will produce output like:

$ docker run mysql-client-tests:latest
updating dolt config for tests:
Config successfully updated.
Config successfully updated.
Config successfully updated.
Config successfully updated.
Running mysql-client-tests:
1..4
ok 1 python mysql.connector client
ok 2 python pymysql client
ok 3 mysql-connector-java client
ok 4 node mysql client