From a1cb9f918d949b25b3399dccb4d793469d2bcb95 Mon Sep 17 00:00:00 2001 From: minghong Date: Wed, 30 Oct 2024 18:09:27 +0800 Subject: [PATCH] fix --- .../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 63fed3ee274065..46f63678f74ede 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}"; """