Commit 681248b
fix(e2e): low-battery scenario charge below UPS2's threshold
The Commit 5 bump of low-battery.dev runtime to 900s removed the
critical-runtime fallback that was previously masking a real bug:
UPS2 in tests/e2e/config-e2e-multi-ups.yaml has
low_battery_threshold=15, and the LOW BATTERY trigger uses strict
`<`, so battery.charge=15 never fires UPS2's shutdown. Test 15
(Non-local failure) sat for the full 15-minute job timeout waiting
for a shutdown that wasn't going to come.
Drop battery.charge to 14 so the scenario fires LOW BATTERY against
both UPS1 (threshold 20) and UPS2 (threshold 15), and the
single-UPS tests still exercise the same trigger.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent fdf5f62 commit 681248b
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
10 | | - | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
0 commit comments