Commit 0bfeed0
chaos: fail fast on missing RUNTIME argument
Without a RUNTIME arg, chaos_check.sh silently proceeds with an empty
value, which becomes --duration s in the chaos harness invocation and
fails 15+ seconds later — after the JDK/agent/jar setup — with a
NumberFormatException buried in the harness output, reported generically
as "FAIL:Chaos harness crashed (RC=1)". Check for a missing RUNTIME right
after arg parsing and fail immediately with a clear usage message.
Environment: Datadog workspace
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 17c3771 commit 0bfeed0
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
0 commit comments