Skip to content

Commit 910b5e5

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.
1 parent 8120076 commit 910b5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)