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

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

commit bf582cd5d3186f3774170108fee2aa004e3ae7b0
Author: Pxl <pxl...@qq.com>
AuthorDate: Wed Jan 31 14:27:31 2024 +0800

    [Chore](case) reset all variables at start on set_and_unset_variable case 
(#30580)
    
    reset all variables at start on set_and_unset_variable case
---
 regression-test/data/variable_p0/set_and_unset_variable.out      | 6 ++++++
 regression-test/suites/variable_p0/set_and_unset_variable.groovy | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/regression-test/data/variable_p0/set_and_unset_variable.out 
b/regression-test/data/variable_p0/set_and_unset_variable.out
index 89689297e61..7f6aeed2efe 100644
--- a/regression-test/data/variable_p0/set_and_unset_variable.out
+++ b/regression-test/data/variable_p0/set_and_unset_variable.out
@@ -2,6 +2,12 @@
 -- !cmd --
 0
 
+-- !cmd --
+0
+
+-- !cmd --
+0
+
 -- !cmd --
 wait_timeout   1000    28800   1
 
diff --git a/regression-test/suites/variable_p0/set_and_unset_variable.groovy 
b/regression-test/suites/variable_p0/set_and_unset_variable.groovy
index 18fae2a8c2f..47749774336 100644
--- a/regression-test/suites/variable_p0/set_and_unset_variable.groovy
+++ b/regression-test/suites/variable_p0/set_and_unset_variable.groovy
@@ -16,6 +16,8 @@
 // under the License.
 
 suite("set_and_unset_variable") {
+    qt_cmd """UNSET VARIABLE ALL"""
+    qt_cmd """UNSET global VARIABLE ALL"""
 
     qt_cmd """set wait_timeout = 1000"""
     qt_cmd """show variables like 'wait_timeout'"""


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

Reply via email to