File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -821,6 +821,12 @@ void main() {
821
821
pollAndFail (async );
822
822
check (takeLastReportedError ()).isNull ();
823
823
async .flushTimers ();
824
+ if (! identical (store, globalStore.perAccountSync (store.accountId))) {
825
+ // Store was reloaded.
826
+ updateFromGlobalStore ();
827
+ updateMachine.debugPauseLoop ();
828
+ updateMachine.poll ();
829
+ }
824
830
}
825
831
826
832
prepareError ();
@@ -838,6 +844,12 @@ void main() {
838
844
pollAndFail (async );
839
845
check (takeLastReportedError ()).isNull ();
840
846
async .flushTimers ();
847
+ if (! identical (store, globalStore.perAccountSync (store.accountId))) {
848
+ // Store was reloaded.
849
+ updateFromGlobalStore ();
850
+ updateMachine.debugPauseLoop ();
851
+ updateMachine.poll ();
852
+ }
841
853
}
842
854
843
855
prepareError ();
@@ -863,6 +875,10 @@ void main() {
863
875
"Error connecting to Zulip. Retrying…\n "
864
876
"Error connecting to Zulip at" );
865
877
});
878
+
879
+ test ('ignore expired queue' , () {
880
+ checkNotReported (prepareExpiredEventQueue);
881
+ });
866
882
});
867
883
});
868
884
You can’t perform that action at this time.
0 commit comments