We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e9210 commit 28cff04Copy full SHA for 28cff04
Tests/PowerSyncTests/Kotlin/KotlinPowerSyncDatabaseImplTests.swift
@@ -24,7 +24,12 @@ final class KotlinPowerSyncDatabaseImplTests: XCTestCase {
24
25
override func tearDown() async throws {
26
try await database.disconnectAndClear()
27
- try await database.close()
+ // Tests currently fail if this is called.
28
+ // The watched query tests try and read from the DB while it's closing.
29
+ // This causes a PowerSyncException to be thrown in the Kotlin flow.
30
+ // Custom exceptions are not supported by SKIEE. This causes a crash.
31
+ // FIXME: Reapply once watched query errors are handled better.
32
+ // try await database.close()
33
database = nil
34
try await super.tearDown()
35
}
0 commit comments