Skip to content

Commit 839819b

Browse files
committed
Update test
1 parent 2c6ae03 commit 839819b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/AppTests/AlertingTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ extension AllTests.AlertingTests {
117117
#expect(all.validateSuccessRateInRange() == .failed(reasons: ["Global success rate of 14.9% out of bounds"]))
118118
}
119119
do {
120-
let okCount = 451
120+
let okCount = 851
121121
let failedCount = 1000 - okCount
122122
let okBuilds = (0..<okCount).map { _ in Alerting.BuildInfo.mock(status: .ok) }
123123
let failedBuilds = (0..<failedCount).map { _ in Alerting.BuildInfo.mock(status: .failed) }
124124
let all = okBuilds + failedBuilds
125-
#expect(all.validateSuccessRateInRange() == .failed(reasons: ["Global success rate of 45.1% out of bounds"]))
125+
#expect(all.validateSuccessRateInRange() == .failed(reasons: ["Global success rate of 85.1% out of bounds"]))
126126
}
127127
}
128128

0 commit comments

Comments
 (0)