#!/usr/bin/env bash # Wait for Docker's completion event; no status polling. set -Eeuo pipefail cd "$(dirname "$0")/.." exit_code=$(docker wait cephmig-million-benchmark-1) if [[ $exit_code != 0 ]]; then echo "Benchmark exited $exit_code; retaining test data and diagnostics." >&2 exit 1 fi exec bash dev/million-finish.sh