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 a1505d25ce [fix](case) drop storage policy before drop resource 
(#23669)
a1505d25ce is described below

commit a1505d25ce24870680b7e9a98595c9d5816a1524
Author: Dongyang Li <[email protected]>
AuthorDate: Wed Aug 30 21:00:28 2023 +0800

    [fix](case) drop storage policy before drop resource (#23669)
    
    Co-authored-by: stephen <[email protected]>
---
 regression-test/suites/cold_heat_separation/policy/alter.groovy | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/regression-test/suites/cold_heat_separation/policy/alter.groovy 
b/regression-test/suites/cold_heat_separation/policy/alter.groovy
index 3cb46cde10..672f794276 100644
--- a/regression-test/suites/cold_heat_separation/policy/alter.groovy
+++ b/regression-test/suites/cold_heat_separation/policy/alter.groovy
@@ -185,6 +185,15 @@ suite("alter_policy") {
 
     // test when policy binding to resource
     def has_resource_policy_alter = "has_resource_policy_alter"
+    sql """
+    DROP STORAGE POLICY IF EXISTS has_resouce_policy_alter_policy
+    """
+    sql """
+    DROP STORAGE POLICY IF EXISTS has_test_policy_to_alter
+    """
+    sql """
+    DROP STORAGE POLICY IF EXISTS has_test_policy_to_alter_1
+    """
     check_resource_delete_if_exist(has_resource_policy_alter)
     create_source(has_resource_policy_alter)
     sql """


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to