You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ch...@apache.org on 2024/04/16 06:46:58 UTC

(shardingsphere) branch master updated: Upgrade mysql container version to 8.0 (#30908)

This is an automated email from the ASF dual-hosted git repository.

chengzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new c4ee4b57dce Upgrade mysql container version to 8.0 (#30908)
c4ee4b57dce is described below

commit c4ee4b57dce8077e8ca544b024e2eac4568fdb44
Author: Zhengqiang Duan <du...@apache.org>
AuthorDate: Tue Apr 16 14:46:52 2024 +0800

    Upgrade mysql container version to 8.0 (#30908)
    
    * Fix table not exist exception when bind oracle with statement contains select union all
    
    * fix unit test
    
    * Upgrade mysql container version to 8.0
---
 .../test/e2e/env/container/atomic/storage/impl/MySQLContainer.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/storage/impl/MySQLContainer.java b/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/storage/impl/MySQLContainer.java
index 1e6ac600ae8..91da286900f 100644
--- a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/storage/impl/MySQLContainer.java
+++ b/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/atomic/storage/impl/MySQLContainer.java
@@ -41,7 +41,7 @@ public final class MySQLContainer extends DockerStorageContainer {
     private final StorageContainerConfiguration storageContainerConfig;
     
     public MySQLContainer(final String containerImage, final StorageContainerConfiguration storageContainerConfig) {
-        super(TypedSPILoader.getService(DatabaseType.class, "MySQL"), Strings.isNullOrEmpty(containerImage) ? "mysql:5.7" : containerImage);
+        super(TypedSPILoader.getService(DatabaseType.class, "MySQL"), Strings.isNullOrEmpty(containerImage) ? "mysql:8.0" : containerImage);
         this.storageContainerConfig = storageContainerConfig;
     }