TODO: Fix flaky ConcurrencyTests.testReaderInDeferredTransactionDuringDefaultTransaction

This commit is contained in:
Gwendal Roué committed 2017-05-25 23:02:31 +02:00
1 parent 5594d46c2d
commit a34784ca73
2 files changed
+4

No files matched your search

+1
View File
@@ -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?
@@ -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.
}
}