Skip to content

Commit d842997

Browse files
committed
nit: startup script
1 parent b5afc6c commit d842997

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎scripts/e2e-start.sh‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ run_runner() {
190190
info "Running runner against aksh..."
191191
cd "$RUNNER_DIR"
192192

193-
timeout 60 ./run.sh 2>&1 | tee -a "$LOG_FILE" | grep -E \
194-
"Listening|Job|Step|completed|error|Error|Failed|Succeeded|Worker" | head -30 || true
193+
# `timeout` is not available on macOS without coreutils; use perl as a portable substitute.
194+
perl -e 'alarm 90; exec @ARGV' -- ./run.sh 2>&1 | tee -a "$LOG_FILE" | grep -E \
195+
"Listening|Job|Step|completed|error|Error|Failed|Succeeded|Worker" | head -50 || true
195196

196197
# Check result
197198
if [ -n "${RUN_ID:-}" ]; then

0 commit comments

Comments
 (0)