This is an automated email from the ASF dual-hosted git repository.
lostluck pushed a commit to branch release-2.54.0
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/release-2.54.0 by this push:
new c726525a9e8 Fix JdbcIO PreCommit mysql breaking change (#30221)
c726525a9e8 is described below
commit c726525a9e8d43ae5a47f477fb6616de93c1cd3b
Author: Robert Burke <[email protected]>
AuthorDate: Mon Feb 5 17:49:16 2024 -0800
Fix JdbcIO PreCommit mysql breaking change (#30221)
Co-authored-by: Yi Hu <[email protected]>
---
.../java/org/apache/beam/sdk/io/jdbc/JdbcIOAutoPartitioningIT.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcIOAutoPartitioningIT.java
b/sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcIOAutoPartitioningIT.java
index 0042d93aedf..dc94b65cf25 100644
---
a/sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcIOAutoPartitioningIT.java
+++
b/sdks/java/io/jdbc/src/test/java/org/apache/beam/sdk/io/jdbc/JdbcIOAutoPartitioningIT.java
@@ -125,7 +125,10 @@ public class JdbcIOAutoPartitioningIT {
}
};
- @ClassRule public static JdbcDatabaseContainer<?> mysql = new
MySQLContainer<>("mysql");
+ // TODO(yathu) unpin tag when the fix of
+ // https://github.com/testcontainers/testcontainers-java/issues/8130
+ // released and upgraded in Beam
+ @ClassRule public static JdbcDatabaseContainer<?> mysql = new
MySQLContainer<>("mysql:8.2");
@ClassRule
public static JdbcDatabaseContainer<?> postgres = new
PostgreSQLContainer<>("postgres");