Skip to content

Commit

Permalink
fix(ci): fix standalone tests startup (#19067)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel authored Oct 27, 2024
1 parent 32666f2 commit a176ace
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions ci/scripts/run-e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ cluster_start() {
mkdir -p "$PREFIX_LOG"
risedev clean-data
risedev pre-start-dev
risedev dev standalone-minio-sqlite &
PID=$!
sleep 1
start_standalone "$PREFIX_LOG"/standalone.log &
risedev dev standalone-minio-sqlite
wait $PID
elif [[ $mode == "single-node" ]]; then
mkdir -p "$PREFIX_LOG"
risedev clean-data
Expand Down Expand Up @@ -255,8 +258,11 @@ if [[ "$mode" == "standalone" ]]; then
mkdir -p "$PREFIX_LOG"
risedev clean-data
risedev pre-start-dev
risedev dev standalone-minio-sqlite-compactor &
PID=$!
sleep 1
start_standalone_without_compactor "$PREFIX_LOG"/standalone.log &
risedev dev standalone-minio-sqlite-compactor
wait $PID
wait_standalone
if compactor_is_online
then
Expand All @@ -272,8 +278,11 @@ if [[ "$mode" == "standalone" ]]; then
mkdir -p "$PREFIX_LOG"
risedev clean-data
risedev pre-start-dev
risedev dev standalone-minio-sqlite &
PID=$!
sleep 1
start_standalone "$PREFIX_LOG"/standalone.log &
risedev dev standalone-minio-sqlite
wait $PID
wait_standalone
if ! compactor_is_online
then
Expand Down

0 comments on commit a176ace

Please sign in to comment.