Skip to content

Commit

Permalink
chore: fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyFan2002 committed Jan 20, 2025
1 parent ffb8771 commit 43eeca4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ sleep_time=$(expr $RANDOM % 5 + 5)
sleep $sleep_time
disown %1
kill -9 $pid > /dev/null 2>&1
sleep 1

# restart query
echo "will restart query"
bash ../scripts/ci/deploy/databend-query-standalone.sh >/dev/null 2>&1
bash ../scripts/ci/deploy/databend-query-standalone.sh >/dev/null

# check if before and after vacuum table the table count matched
old_count=$(echo "select * from test_vacuum.a order by c" | $BENDSQL_CLIENT_CONNECT)
Expand Down

0 comments on commit 43eeca4

Please sign in to comment.