Skip to content

Commit

Permalink
fix(ci): fix standalone tests startup (#19067) (#19141)
Browse files Browse the repository at this point in the history
Co-authored-by: Noel Kwan <[email protected]>
Co-authored-by: Noel Kwan <[email protected]>
  • Loading branch information
3 people authored Oct 28, 2024
1 parent 42aaf3f commit 380d72a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 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
2 changes: 1 addition & 1 deletion ci/workflows/main-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ steps:
config: ci/docker-compose.yml
mount-buildkite-agent: true
- ./ci/plugins/upload-failure-logs
timeout_in_minutes: 25
timeout_in_minutes: 35
retry: *auto-retry

- label: "e2e single-node binary test"
Expand Down
2 changes: 1 addition & 1 deletion ci/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ steps:
config: ci/docker-compose.yml
mount-buildkite-agent: true
- ./ci/plugins/upload-failure-logs
timeout_in_minutes: 30
timeout_in_minutes: 40
retry: *auto-retry

- label: "e2e single-node binary test"
Expand Down

0 comments on commit 380d72a

Please sign in to comment.