Commit cea7e2a
committed
test(e2e): ephemeral main sandbox name, fail fast on forward start
Make SANDBOX an ephemeral per-run name (NEMOCLAW_E2E_SANDBOX_NAME
override, defaulting to `test-dash-$$`) so cleanup can never destroy
a user's unrelated `test-dash` sandbox on local runs — same class of
fix already applied to the install sandbox.
Harden the defensive forward re-establishment: stop any existing
forward first, then hard-fail if `openshell forward start` fails.
Previously we swallowed the non-zero exit with `|| log ...`, which
meant TC-DASH-0{1,2,3} could pass spuriously against a stale
listener from another process.
Signed-off-by: Evan Takahashi <evan10takahashi@gmail.com>1 parent 2ff54ce commit cea7e2a
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
205 | 208 | | |
206 | | - | |
207 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
208 | 215 | | |
209 | 216 | | |
210 | 217 | | |
| |||
0 commit comments