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

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 6d23020cb88 [fix](regression) do not test "set global sessionVar" on 
multi-fe cluster (#42922)
6d23020cb88 is described below

commit 6d23020cb88bb5bfef4c8de35cf928331c93bcd8
Author: minghong <engle...@gmail.com>
AuthorDate: Wed Oct 30 21:35:32 2024 +0800

    [fix](regression) do not test "set global sessionVar" on multi-fe cluster 
(#42922)
    
    ## Proposed changes
    fix unstable rt case: test_statistic_global_variable
    
    Issue Number: close #xxx
    
    <!--Describe your changes.-->
---
 .../suites/statistics/test_statistic_global_variable.groovy         | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/regression-test/suites/statistics/test_statistic_global_variable.groovy 
b/regression-test/suites/statistics/test_statistic_global_variable.groovy
index 63fed3ee274..46f63678f74 100644
--- a/regression-test/suites/statistics/test_statistic_global_variable.groovy
+++ b/regression-test/suites/statistics/test_statistic_global_variable.groovy
@@ -17,6 +17,12 @@
 
 suite("test_statistic_global_variable", "nonConcurrent") {
 
+    def frontends = sql "show frontends"
+
+    if (frontends.size() != 1) {
+        return
+    }
+
     def verifyVairable = { variable, value ->
         sql """set global ${variable}="${value}";"""
         def result = sql """show variables like "${variable}"; """


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to