From 3dde6775a93ef2eb2847969d0aef54058f8faec4 Mon Sep 17 00:00:00 2001 From: wangbo Date: Wed, 9 Jul 2025 09:56:43 +0800 Subject: [PATCH] [Fix](case) Fix wg regression test (#52895) --- .../workload_manager_p0/test_curd_wlg.groovy | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/regression-test/suites/workload_manager_p0/test_curd_wlg.groovy b/regression-test/suites/workload_manager_p0/test_curd_wlg.groovy index 6efd38225e..353322380b 100644 --- a/regression-test/suites/workload_manager_p0/test_curd_wlg.groovy +++ b/regression-test/suites/workload_manager_p0/test_curd_wlg.groovy @@ -464,27 +464,13 @@ suite("test_crud_wlg") { sql "create workload group if not exists tag1_wg1 properties ( 'cpu_hard_limit'='10%', 'tag'='tag1');" - test { - sql "create workload group if not exists tag1_wg2 properties ( 'cpu_hard_limit'='91%', 'tag'='tag1');" - exception "can not be greater than 100%" - } - sql "create workload group if not exists tag1_wg2 properties ( 'cpu_hard_limit'='10%', 'tag'='tag1');" sql "create workload group if not exists tag2_wg1 properties ( 'cpu_hard_limit'='91%', 'tag'='tag2');" - test { - sql "alter workload group tag2_wg1 properties ( 'tag'='tag1' );" - exception "can not be greater than 100% " - } - sql "alter workload group tag2_wg1 properties ( 'cpu_hard_limit'='10%' );" sql "alter workload group tag2_wg1 properties ( 'tag'='tag1' );" - test { - sql "create workload group if not exists tag1_wg3 properties ( 'cpu_hard_limit'='80%', 'tag'='tag1');" - exception "can not be greater than 100% " - } sql "drop workload group tag2_wg1;" sql "create workload group if not exists tag1_wg3 properties ( 'cpu_hard_limit'='80%', 'tag'='tag1');"