From 1ff66c8382f66c2bd97d6b56cf76a15912c084f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 26 Sep 2026 12:36:33 +0200 Subject: [PATCH] Test independance --- Tests/Performance/GRDBPerformance/FetchStringTests.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/Performance/GRDBPerformance/FetchStringTests.swift b/Tests/Performance/GRDBPerformance/FetchStringTests.swift index 910461b03..b6de1b013 100644 --- a/Tests/Performance/GRDBPerformance/FetchStringTests.swift +++ b/Tests/Performance/GRDBPerformance/FetchStringTests.swift @@ -4,6 +4,9 @@ import GRDB /// Here we test the decoding of string columns. The other fetch tests in /// this target use an all-INT model, and never decode a string. class FetchStringTests: XCTestCase { + static let shortString = "foo" + static let longString = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus consectetur felis eget nibh aliquet ullamcorper. Nam sodales, tellus a cursus tincidunt, arcu purus suscipit elit, nec congue erat ipsum a purus." + static let expectedRowCount = 200_000 static let personRowCount = 100_000 static let recordFetchesPerIteration = 5 @@ -110,7 +113,7 @@ class FetchStringTests: XCTestCase { try db.execute(sql: "CREATE TABLE item (short TEXT, long TEXT)") let statement = try db.makeStatement(sql: "INSERT INTO item (short, long) VALUES (?, ?)") for _ in 0..