Skip to content

Commit c726525

Browse files
lostluckAbacn
andauthored
Fix JdbcIO PreCommit mysql breaking change (#30221)
Co-authored-by: Yi Hu <yathu@google.com>
1 parent 7cd144d commit c726525

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcIOAutoPartitioningIT.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ public void evaluate() throws Throwable {
125125
}
126126
};
127127

128-
@ClassRule public static JdbcDatabaseContainer<?> mysql = new MySQLContainer<>("mysql");
128+
// TODO(yathu) unpin tag when the fix of
129+
// https://github.com/testcontainers/testcontainers-java/issues/8130
130+
// released and upgraded in Beam
131+
@ClassRule public static JdbcDatabaseContainer<?> mysql = new MySQLContainer<>("mysql:8.2");
129132

130133
@ClassRule
131134
public static JdbcDatabaseContainer<?> postgres = new PostgreSQLContainer<>("postgres");

0 commit comments

Comments
 (0)