Skip to content

Commit b1812b2

Browse files
committed
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 910b5e5)
1 parent c6cec6b commit b1812b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-pulsar/src/test/java/org/springframework/pulsar/transaction/PulsarTxnWithDbTxnTestsBase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class PulsarTxnWithDbTxnTestsBase extends PulsarTxnTestsBase {
5454

5555
private static final Logger LOG = LoggerFactory.getLogger(PulsarTxnWithDbTxnTestsBase.class);
5656

57-
static MySQLContainer<?> MYSQL_CONTAINER = new MySQLContainer<>(DockerImageName.parse("mysql:latest"))
57+
static MySQLContainer<?> MYSQL_CONTAINER = new MySQLContainer<>(DockerImageName.parse("mysql:9.2"))
5858
.withInitScript("transaction/init.sql")
5959
.withLogConsumer(new Slf4jLogConsumer(LOG));
6060

0 commit comments

Comments
 (0)