Skip to content

Commit

Permalink
[Chore](case) reset all variables at start on set_and_unset_variable …
Browse files Browse the repository at this point in the history
…case (#30580)

reset all variables at start on set_and_unset_variable case
  • Loading branch information
BiteTheDDDDt authored and Doris-Extras committed Jan 31, 2024
1 parent 866dde9 commit bf582cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions regression-test/data/variable_p0/set_and_unset_variable.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
-- !cmd --
0

-- !cmd --
0

-- !cmd --
0

-- !cmd --
wait_timeout 1000 28800 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'"""
Expand Down

0 comments on commit bf582cd

Please sign in to comment.