Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer committed Jul 26, 2022
1 parent ff7dbfd commit 1b07bc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions br/tests/br_incremental_ddl/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ for i in $(seq $ROW_COUNT); do
run_sql "INSERT INTO ${DB}.${TABLE}(c1) VALUES ($i);"
done


# Do not log to terminal
unset BR_LOG_TO_TERM
# full backup
echo "full backup start..."
run_br --pd $PD_ADDR backup table -s "local://$TEST_DIR/$DB/full" --db $DB -t $TABLE --log-file $LOG
Expand Down Expand Up @@ -81,6 +84,7 @@ if [ "${one_shot_session_count}" -ne "2" ] || [ "$one_shot_domain_count" -ne "2"
exit 1
fi
rm -rf $LOG
BR_LOG_TO_TERM=1

run_sql "DROP DATABASE $DB;"
# full restore
Expand Down

0 comments on commit 1b07bc7

Please sign in to comment.