Skip to content

Commit 5a72e79

Browse files
committed
fix: include exited RustFS init containers
Signed-off-by: Zoorpha <[email protected]>
1 parent 2c5ca5e commit 5a72e79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/start-isolated-test-relay.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ wait_pg
8787
wait_rustfs_init() {
8888
local container status exit_code
8989
for _ in $(seq 1 60); do
90-
container="$(docker compose -p "${PROJECT}" -f "${COMPOSE_FILE}" ps -q rustfs-init 2>/dev/null || true)"
90+
container="$(docker compose -p "${PROJECT}" -f "${COMPOSE_FILE}" ps -a -q rustfs-init 2>/dev/null || true)"
9191
status="$(docker inspect --format='{{.State.Status}}' "${container}" 2>/dev/null || true)"
9292
if [[ "${status}" == "exited" ]]; then
9393
exit_code="$(docker inspect --format='{{.State.ExitCode}}' "${container}" 2>/dev/null || true)"

0 commit comments

Comments
 (0)