File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ Integration Tests for MySQL Native
2+ ==================================
3+
4+ This sub-project is intended for proving the functionality of the project against a database instance.
5+
6+ See the instructions in the [ main README] ( ../README.md#developers---how-to-run-the-test-suite ) on how to use this subpackage.
7+
8+ ## Docker image
9+
10+ A docker-compose.yml is supplied for convenience when testing locally. It's preconfigured to use the same username/password that is used by default.
11+
12+ To run tests on your machine, presuming docker is installed, simply run:
13+
14+ ```
15+ $ docker-compose up --detach
16+ ```
17+
18+ Once you are finished, tear down the docker instance
19+
20+ ```
21+ $ docker-compose down
22+ ```
Original file line number Diff line number Diff line change 1+ version : ' 3.7'
2+ services :
3+ mysql :
4+ # Don't use latest (MySQL Server 8.0) as we cannot currently support it
5+ image : mysql:5.7
6+ restart : always
7+ ports : ['3306:3306']
8+ environment :
9+ - MYSQL_ALLOW_EMPTY_PASSWORD=yes
10+ - MYSQL_DATABASE=mysqln_testdb
11+ - MYSQL_USER=mysqln_test
12+ - MYSQL_PASSWORD=pass123
You can’t perform that action at this time.
0 commit comments