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

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


The following commit(s) were added to refs/heads/master by this push:
     new f2b15c03ca [fix]disable enable_resource_group for regression test 
(#19206)
f2b15c03ca is described below

commit f2b15c03ca08fdc0b05922ea926c374e3838210d
Author: wangbo <wan...@apache.org>
AuthorDate: Sat Apr 29 14:47:50 2023 +0800

    [fix]disable enable_resource_group for regression test (#19206)
    
    When running regression test with setting enable_resource_group = true, 
it's shared by other test case, may be cause regression test failed.
    So we should not set it to true until we have fully test it.
---
 .../test_resource_group_tvf.groovy                 | 30 ----------------------
 .../resource_group_p0/test_resource_group.groovy   | 27 -------------------
 2 files changed, 57 deletions(-)

diff --git 
a/regression-test/suites/correctness_p0/table_valued_function/test_resource_group_tvf.groovy
 
b/regression-test/suites/correctness_p0/table_valued_function/test_resource_group_tvf.groovy
deleted file mode 100644
index a0293a0ee6..0000000000
--- 
a/regression-test/suites/correctness_p0/table_valued_function/test_resource_group_tvf.groovy
+++ /dev/null
@@ -1,30 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-// This suit test the `resource_groups` tvf
-// TO DO
-suite("test_resource_groups_tvf") {
-    sql """ADMIN SET FRONTEND CONFIG ("experimental_enable_resource_group" = 
"true");"""
-
-    def name1 = "test";
-       sql "create resource group if not exists ${name1} 
properties('cpu_share'='10');"
-    List<List<Object>> table =  sql """ select * from resource_groups(); """
-    assertTrue(table.size() > 0)
-    assertTrue(table[0].size == 4) // column should be 4
-
-    sql """ADMIN SET FRONTEND CONFIG ("experimental_enable_resource_group" = 
"false");"""
-}
\ No newline at end of file
diff --git 
a/regression-test/suites/resource_group_p0/test_resource_group.groovy 
b/regression-test/suites/resource_group_p0/test_resource_group.groovy
deleted file mode 100644
index 8dc7135547..0000000000
--- a/regression-test/suites/resource_group_p0/test_resource_group.groovy
+++ /dev/null
@@ -1,27 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements.  See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership.  The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied.  See the License for the
-// specific language governing permissions and limitations
-// under the License.
-suite("test_resource_group") {
-       sql """ADMIN SET FRONTEND CONFIG ("experimental_enable_resource_group" 
= "true");"""
-
-       def name1 = "g1";
-       sql "create resource group if not exists ${name1} 
properties('cpu_share'='10');"
-       List<List<Object>> results = sql "show resource groups;"
-    assertTrue(results.size() >= 2)
-    assertEquals(4, results[0].size())
-
-       sql """ADMIN SET FRONTEND CONFIG ("experimental_enable_resource_group" 
= "false");"""
-}
\ No newline at end of file


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

Reply via email to