You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/Tests/DataStoreHostApp/AWSDataStorePluginIntegrationTests/DataStoreObserveQueryTests.swift
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ class DataStoreObserveQueryTests: SyncEngineIntegrationTestBase {
83
83
tryawaitclearDataStore()
84
84
varsnapshots=[DataStoreQuerySnapshot<Post>]()
85
85
letsnapshotWithIsSynced=expectation(description:"query snapshot with isSynced true")
86
+
snapshotWithIsSynced.assertForOverFulfill =false
86
87
Amplify.Publisher.create(Amplify.DataStore.observeQuery(for:Post.self)).sink{ completed in
87
88
switch completed {
88
89
case.finished:
@@ -130,6 +131,7 @@ class DataStoreObserveQueryTests: SyncEngineIntegrationTestBase {
130
131
varisObserveQueryReadyForTest=false
131
132
letobserveQueryReadyForTest=expectation(description:"received query snapshot with .isSynced true")
132
133
letsnapshotWithPost=expectation(description:"received first snapshot")
0 commit comments