Use mysql:9.2 for DB tests
This updates the PulsarTxnWithDbTxnTestsBase to use mysql:9.2 rather than
mysql:latest which is now mysql:9.3 and has removed a property that is still
used by Testcontainers v1.20.6.
(cherry picked from commit 910b5e5717)
This commit is contained in:
@@ -54,7 +54,7 @@ class PulsarTxnWithDbTxnTestsBase extends PulsarTxnTestsBase {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(PulsarTxnWithDbTxnTestsBase.class);
|
||||
|
||||
static MySQLContainer<?> MYSQL_CONTAINER = new MySQLContainer<>(DockerImageName.parse("mysql:latest"))
|
||||
static MySQLContainer<?> MYSQL_CONTAINER = new MySQLContainer<>(DockerImageName.parse("mysql:9.2"))
|
||||
.withInitScript("transaction/init.sql")
|
||||
.withLogConsumer(new Slf4jLogConsumer(LOG));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user