This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/tests/IntegrationTests/Events Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -365,6 +365,8 @@ public async Task ShouldDetectChangesToRemotes()
365
365
await TaskManager . Wait ( ) ;
366
366
RepositoryManager . WaitForEvents ( ) ;
367
367
WaitForNotBusy ( repositoryManagerEvents ) ;
368
+ repositoryManagerEvents . OnRemoteBranchListUpdated . WaitOne ( TimeSpan . FromSeconds ( 1 ) ) ;
369
+ repositoryManagerEvents . OnLocalBranchListUpdated . WaitOne ( TimeSpan . FromSeconds ( 1 ) ) ;
368
370
369
371
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
370
372
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
@@ -385,6 +387,8 @@ public async Task ShouldDetectChangesToRemotes()
385
387
await TaskManager . Wait ( ) ;
386
388
RepositoryManager . WaitForEvents ( ) ;
387
389
WaitForNotBusy ( repositoryManagerEvents ) ;
390
+ repositoryManagerEvents . OnRemoteBranchListUpdated . WaitOne ( TimeSpan . FromSeconds ( 1 ) ) ;
391
+ repositoryManagerEvents . OnLocalBranchListUpdated . WaitOne ( TimeSpan . FromSeconds ( 1 ) ) ;
388
392
389
393
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
390
394
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
You can’t perform that action at this time.
0 commit comments