Skip to content

Commit 13e2f9f

Browse files
committed
test: align sequenceSeverity test with raised warn/crit thresholds
Commit 4b524ae raised the sequence warn floor 60->80 and crit 80->95 but left the test asserting the old warn floor: sequenceSeverity(70) now correctly returns SevOK, so the 70%%->SevWarn case failed. Move it to 85, squarely in the new 80-95 warn band.
1 parent 4b524ae commit 13e2f9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/pg/triage_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ func TestSequenceSeverity(t *testing.T) {
105105
if got := sequenceSeverity(10); got != SevOK {
106106
t.Errorf("10%% = %v, want SevOK", got)
107107
}
108-
if got := sequenceSeverity(70); got != SevWarn {
109-
t.Errorf("70%% = %v, want SevWarn", got)
108+
if got := sequenceSeverity(85); got != SevWarn {
109+
t.Errorf("85%% = %v, want SevWarn", got)
110110
}
111111
if got := sequenceSeverity(95); got != SevCrit {
112112
t.Errorf("95%% = %v, want SevCrit", got)

0 commit comments

Comments
 (0)