diff --git a/regression-test/suites/statistics/test_statistic_global_variable.groovy b/regression-test/suites/statistics/test_statistic_global_variable.groovy index 63fed3ee27..46f63678f7 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}"; """