Skip to content

Commit

Permalink
remove initialization step from script
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Nov 26, 2024
1 parent ef5ae4d commit 5a5255b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ci/scripts/run-e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ cluster_start() {
# Give it a while to make sure the single-node is ready.
sleep 10
else
# Initialize backends.
if [[ $mode == *"mysql-backend" ]]; then
mysql -h mysql -P 3306 -u root -p123456 -e "DROP DATABASE IF EXISTS metadata; CREATE DATABASE metadata;"
elif [[ $mode == *"pg-backend" ]]; then
PGPASSWORD=postgres psql -h db -p 5432 -U postgres -c "DROP DATABASE IF EXISTS metadata;" -c "CREATE DATABASE metadata;"
fi

risedev ci-start "$mode"
fi
}
Expand Down

0 comments on commit 5a5255b

Please sign in to comment.