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 +5
-3
lines changed
src/tests/IntegrationTests/Events Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -141,9 +141,11 @@ public async Task ShouldAddAndCommitAllFiles()
141
141
RepositoryManager . WaitForEvents ( ) ;
142
142
repositoryManagerEvents . WaitForNotBusy ( ) ;
143
143
144
+ repositoryManagerEvents . GitStatusUpdated . WaitOne ( TimeSpan . FromSeconds ( 20 ) ) . Should ( ) . BeTrue ( ) ;
145
+
144
146
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
145
147
repositoryManagerListener . DidNotReceive ( ) . CurrentBranchUpdated ( Args . NullableConfigBranch , Args . NullableConfigRemote ) ;
146
- repositoryManagerListener . DidNotReceive ( ) . GitStatusUpdated ( Args . GitStatus ) ;
148
+ repositoryManagerListener . Received ( ) . GitStatusUpdated ( Args . GitStatus ) ;
147
149
repositoryManagerListener . DidNotReceive ( ) . GitLocksUpdated ( Args . GitLocks ) ;
148
150
repositoryManagerListener . DidNotReceive ( ) . GitLogUpdated ( Args . GitLogs ) ;
149
151
repositoryManagerListener . DidNotReceive ( ) . LocalBranchesUpdated ( Args . LocalBranchDictionary ) ;
@@ -160,8 +162,8 @@ await RepositoryManager
160
162
RepositoryManager . WaitForEvents ( ) ;
161
163
repositoryManagerEvents . WaitForNotBusy ( ) ;
162
164
163
- repositoryManagerEvents . GitStatusUpdated . WaitOne ( TimeSpan . FromSeconds ( 2 ) ) . Should ( ) . BeTrue ( ) ;
164
- repositoryManagerEvents . LocalBranchesUpdated . WaitOne ( TimeSpan . FromSeconds ( 2 ) ) . Should ( ) . BeTrue ( ) ;
165
+ repositoryManagerEvents . GitStatusUpdated . WaitOne ( TimeSpan . FromSeconds ( 20 ) ) . Should ( ) . BeTrue ( ) ;
166
+ repositoryManagerEvents . LocalBranchesUpdated . WaitOne ( TimeSpan . FromSeconds ( 20 ) ) . Should ( ) . BeTrue ( ) ;
165
167
166
168
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
167
169
repositoryManagerListener . DidNotReceive ( ) . CurrentBranchUpdated ( Args . NullableConfigBranch , Args . NullableConfigRemote ) ;
You can’t perform that action at this time.
0 commit comments