mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Fix a test that relied on observation of every single changes
This commit is contained in:
1 parent
e1ddc8154f
commit
db01b0063c
1 file changed
+1
-1
@@ -936,7 +936,7 @@ class ValueObservationTests: GRDBTestCase {
|
||||
Task {
|
||||
let observation = ValueObservation.trackingConstantRegion(Table("t").fetchCount)
|
||||
for try await count in observation.values(in: writer) {
|
||||
if count == 3 {
|
||||
if count >= 3 {
|
||||
cancelledTask.cancel()
|
||||
break
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user