Skip to content

Commit 5190928

Browse files
committed
Improve wording around query performance thresholds
1 parent 82c26cf commit 5190928

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/AppTests/QueryPerformanceTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,14 @@ private extension QueryPerformanceTests {
220220
break
221221
case ..<(expectedCost + variation):
222222
if isRunningInCI {
223-
print("::warning file=\(filePath),line=\(lineNumber),title=\(testName)::Total cost of \(parsedPlan.cost.total) above threshold of \(expectedCost + variation) (within variation)")
223+
print("::warning file=\(filePath),line=\(lineNumber),title=\(testName)::Total cost of \(parsedPlan.cost.total) close to threshold of \(expectedCost + variation)")
224224
}
225225
default:
226226
if isRunningInCI {
227-
print("::error file=\(filePath),line=\(lineNumber),title=\(testName)::Total cost of \(parsedPlan.cost.total) above threshold of \(expectedCost + variation) (incl variation)")
227+
print("::error file=\(filePath),line=\(lineNumber),title=\(testName)::Total cost of \(parsedPlan.cost.total) above threshold of \(expectedCost + variation)")
228228
}
229229
XCTFail("""
230-
Total cost of \(parsedPlan.cost.total) above threshold of \(expectedCost + variation) (incl variation)
230+
Total cost of \(parsedPlan.cost.total) above threshold of \(expectedCost + variation)
231231
232232
Query plan:
233233

0 commit comments

Comments
 (0)