You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/10/10 04:36:12 UTC

(shardingsphere) branch master updated: Fix Doris native test backend readiness check (#40123)

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

terrymanu 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 22ff95e9292 Fix Doris native test backend readiness check (#40123)
22ff95e9292 is described below

commit 22ff95e9292ec1cb1d65ae0fb547969c55413ca9
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Oct 10 12:36:03 2026 +0800

    Fix Doris native test backend readiness check (#40123)
    
    * Suppress routine Jev usage feedback in task reports
    
    * Fix Doris native test backend readiness check
---
 .../apache/shardingsphere/test/natived/jdbc/databases/DorisFETest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/DorisFETest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/DorisFETest.java
index 9feda307843..d71fc6df0bc 100644
--- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/DorisFETest.java
+++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/DorisFETest.java
@@ -96,7 +96,7 @@ class DorisFETest {
         Awaitility.await().atMost(Duration.ofMinutes(1L)).ignoreExceptions().until(() -> {
             try (Connection connection = DriverManager.getConnection(jdbcUrlPrefix, "root", null)) {
                 assertTrue(connection.createStatement().executeQuery("SELECT `host`, `join`, `alive` FROM frontends()").next());
-                assertTrue(connection.createStatement().executeQuery("SELECT `host`, `alive` FROM backends()").next());
+                assertTrue(connection.createStatement().executeQuery("SELECT `host`, `alive` FROM backends() WHERE `alive` = true AND `TotalCapacity` > 0").next());
             }
             return true;
         });