diff --git a/TODO.md b/TODO.md index ae851bad6..b80e077da 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,4 @@ +- [ ] Fix flaky ConcurrencyTests.testReaderInDeferredTransactionDuringDefaultTransaction - [ ] Upgrade SQLCipher to v3.4.1 - [ ] We share the database cache between database pool writers and readers. But what if a writer modifies the database schema within a transaction, and a concurrent reader reads the cache? Bad things, isn't it? Write failing tests first, and fix the bug. - [ ] Attach databases. Interesting question: what happens when one attaches a non-WAL db to a databasePool? diff --git a/Tests/GRDBTests/DatabaseQueueConcurrencyTests.swift b/Tests/GRDBTests/DatabaseQueueConcurrencyTests.swift index a16709bb5..ce7988683 100644 --- a/Tests/GRDBTests/DatabaseQueueConcurrencyTests.swift +++ b/Tests/GRDBTests/DatabaseQueueConcurrencyTests.swift @@ -437,6 +437,9 @@ class ConcurrencyTests: GRDBTestCase { _ = group.wait(timeout: .distantFuture) + // TODO: flaky test + // https://travis-ci.org/groue/GRDB.swift/jobs/236100291 + // https://travis-ci.org/groue/GRDB.swift/jobs/236100305 XCTAssertTrue(numberOfTries > 0) // Busy handler has been used. } }