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/AWSDataStoreCategoryPlugin/Sync/SubscriptionSync/ReconcileAndLocalSave/AWSModelReconciliationQueue.swift
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ final class AWSModelReconciliationQueue: ModelReconciliationQueue {
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/AWSDataStoreCategoryPlugin/Sync/SubscriptionSync/ReconcileAndLocalSave/ReconcileAndLocalSaveOperation.swift
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,10 +96,12 @@ class ReconcileAndLocalSaveOperation: AsynchronousOperation {
96
96
case.inError(let error):
97
97
// Maybe we have to notify the Hub?
98
98
log.error(error: error)
99
+
notifyFinished()
99
100
finish()
100
101
101
102
case.finished:
102
103
// Maybe we have to notify the Hub?
104
+
notifyFinished()
103
105
finish()
104
106
105
107
}
@@ -301,6 +303,10 @@ class ReconcileAndLocalSaveOperation: AsynchronousOperation {
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginTests/Sync/SubscriptionSync/ModelReconciliationQueueBehaviorTests.swift
+88-6Lines changed: 88 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -89,9 +89,34 @@ class ModelReconciliationQueueBehaviorTests: ReconciliationQueueTestBase {
0 commit comments