Fix a test that relied on observation of every single changes

This commit is contained in:
Gwendal Roué committed 2023-06-02 15:39:26 +02:00
1 parent e1ddc8154f
commit db01b0063c
1 file changed
+1 -1
+1 -1
View File
@@ -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 {