Skip to content

Commit

Permalink
fixtest_statistic_global_variable
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Oct 28, 2024
1 parent 768db51 commit a1f9080
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

suite("test_statistic_global_variable", "p0, nonConcurrent") {
suite("test_statistic_global_variable", "nonConcurrent") {

def verifyVairable = { variable, value ->
sql """set global ${variable}="${value}";"""
Expand All @@ -25,8 +25,6 @@ suite("test_statistic_global_variable", "p0, nonConcurrent") {
}

try {
verifyVairable("enable_auto_analyze", "true")
verifyVairable("enable_auto_analyze", "false")
verifyVairable("analyze_timeout", "1")
verifyVairable("analyze_timeout", "43200")
verifyVairable("auto_analyze_end_time", "11:11:11")
Expand All @@ -47,7 +45,6 @@ suite("test_statistic_global_variable", "p0, nonConcurrent") {
verifyVairable("table_stats_health_threshold", "60")

} finally {
sql """set global enable_auto_analyze=false"""
sql """set global analyze_timeout=43200"""
sql """set global auto_analyze_end_time="23:59:59";"""
sql """set global auto_analyze_start_time="00:00:00";"""
Expand Down

0 comments on commit a1f9080

Please sign in to comment.