diff --git a/Tests/GRDBTests/ValueObservationTests.swift b/Tests/GRDBTests/ValueObservationTests.swift index 42e85beef..31510bee7 100644 --- a/Tests/GRDBTests/ValueObservationTests.swift +++ b/Tests/GRDBTests/ValueObservationTests.swift @@ -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 {