Expand description
Shared reusable MySQL container for integration tests.
The container provides a root connection to the default mysql system database. Creating
per-test databases and granting product users stays with the product test harness, which can
register database names via crate::state::SharedContainerState::remember_resource so stale
databases are pruned on later runs.
Structs§
- Mysql
Test Container - Handle to the suite’s shared
MySQLcontainer.
Constants§
- MYSQL_
TEST_ MAX_ CONNECTIONS - Maximum simultaneous connections for nextest’s process-per-test database pools.
- MYSQL_
TEST_ TABLE_ DEFINITION_ CACHE - Table-definition cache used by the shared
MySQLintegration-test container.