diff --git a/tests/suites/5_ee/01_vacuum/01_0000_ee_vacuum.py b/tests/suites/5_ee/01_vacuum/01_0000_ee_vacuum.py index 1e83ceebbb1c4..4d6ca40b4878d 100755 --- a/tests/suites/5_ee/01_vacuum/01_0000_ee_vacuum.py +++ b/tests/suites/5_ee/01_vacuum/01_0000_ee_vacuum.py @@ -50,9 +50,9 @@ def compact_data(name): client1.send("create table gc_test(a int);") client1.expect(prompt) - client1.send("unset enterprise_license") + client1.send("unset enterprise_license;") client1.expect(prompt) - client1.send("set global enterprise_license='{}'".format(get_license())) + client1.send("set global enterprise_license='{}';".format(get_license())) client1.expect(prompt) insert_data("insert_data") @@ -79,7 +79,7 @@ def compact_data(name): mycursor.execute("select a from gc_test order by a;") datas = mycursor.fetchall() - client1.send("unset enterprise_license") + client1.send("unset enterprise_license;") client1.expect(prompt) if old_datas != datas: diff --git a/tests/suites/5_ee/01_vacuum/01_0001_ee_vacuum_kill_randomly.sh b/tests/suites/5_ee/01_vacuum/01_0001_ee_vacuum_kill_randomly.sh index 957c48b3819dd..1a745d2ca38ff 100755 --- a/tests/suites/5_ee/01_vacuum/01_0001_ee_vacuum_kill_randomly.sh +++ b/tests/suites/5_ee/01_vacuum/01_0001_ee_vacuum_kill_randomly.sh @@ -23,7 +23,7 @@ bash ../scripts/ci/deploy/databend-query-standalone.sh > /dev/null 2>&1 # check if before and after vacuum table the table count matched old_count=`echo "select * from test_vacuum.a order by c" | $MYSQL_CLIENT_CONNECT` -echo "vacuum table test_vacuum.a retain 0 hours" | | $MYSQL_CLIENT_CONNECT +echo "vacuum table test_vacuum.a retain 0 hours" | $MYSQL_CLIENT_CONNECT #echo "optimize table test_vacuum.a all" | $MYSQL_CLIENT_CONNECT count=`echo "select * from test_vacuum.a order by c" | $MYSQL_CLIENT_CONNECT` if [ $old_count -ne $count ]; then