Skip flaky test with SQLCipher 3

This commit is contained in:
Gwendal Roué committed 2024-08-25 10:39:38 +02:00
1 parent d96dc2d328
commit 1c368ed18d
1 file changed
+7
@@ -1083,6 +1083,13 @@ class ValueObservationTests: GRDBTestCase {
// An attempt at finding a regression test for <https://github.com/groue/GRDB.swift/issues/1362>
func testManyObservations() throws {
// TODO: Fix flaky test with SQLCipher 3
#if GRDBCIPHER
if sqlite3_libversion_number() <= 3020001 {
throw XCTSkip("Skip flaky test with SQLCipher 3")
}
#endif
// We'll start many observations
let observationCount = 100
dbConfiguration.maximumReaderCount = 5