Repository navigation
Commit 863b7cd
committed
test(client): state the refused-signal teardown contract precisely
A refused SIGTERM is not proof of exit: it can also mean a companion still
running under another owner. Say so, name the consequence (no exit wait, no
escalation, state file dropped), and point at the daemon stopper that decides
differently with `signal-failed`.
Replace the injected waitForProcessExit success stub, which implied a
confirmation the production path never makes, with assertions that no exit
wait occurs and that the state file is dropped.1 parent 6b34742 commit 863b7cd
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
367 | 373 | | |
368 | 374 | | |
369 | 375 | | |
370 | 376 | | |
371 | 377 | | |
372 | | - | |
373 | 378 | | |
374 | 379 | | |
375 | 380 | | |
376 | 381 | | |
| 382 | + | |
377 | 383 | | |
378 | 384 | | |
379 | 385 | | |
| |||
0 commit comments