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
Fix potential issue with cached sync run persisting after a sync is started or ended. (#612)
* Fix potential issue with cached sync run persisting after a sync is started or ended.
* Remove unneeded bool. Just check if the cached data exists or not.
// This assertion will fail because the cache wasn't invalidated when sync2 finished
603
+
require.Len(t, resp2.GetList(), 1, "should return resource from new sync")
604
+
require.Equal(t, "resource-2", resp2.GetList()[0].GetId().GetResource(), "should return resource-2 from the new finished sync (sync2), not resource-1 from cached sync (sync1)")
0 commit comments