File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/ResourceManager/Profile/Commands.Profile.Test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ public void CanHandleShouldProcessExceptionForConfirm()
134
134
mockRuntime . Setup ( ( r ) => r . ShouldProcess ( It . IsAny < string > ( ) , It . IsAny < string > ( ) ) ) . Throws ( new InvalidOperationException ( "Exception on ShouldProcess" ) ) ;
135
135
var job = cmdlet . ExecuteAsJob ( "Test Job" ) as AzureLongRunningJob < AzureStreamTestCmdlet > ;
136
136
int times = 0 ;
137
- while ( times ++ < 20 && job . StatusMessage != "Failed" )
137
+ while ( times ++ < 50 && job . StatusMessage != "Failed" )
138
138
{
139
139
Thread . Sleep ( TimeSpan . FromSeconds ( 1 ) ) ;
140
140
if ( job . StatusMessage == "Blocked" )
@@ -179,7 +179,7 @@ public void CanHandleShouldContinueException()
179
179
mockRuntime . Setup ( ( r ) => r . ShouldContinue ( It . IsAny < string > ( ) , It . IsAny < string > ( ) ) ) . Throws ( new InvalidOperationException ( "Exception on ShouldContinue" ) ) ;
180
180
var job = cmdlet . ExecuteAsJob ( "Test Job" ) as AzureLongRunningJob < AzureStreamTestCmdlet > ;
181
181
int times = 0 ;
182
- while ( times ++ < 20 && job . StatusMessage != "Failed" )
182
+ while ( times ++ < 50 && job . StatusMessage != "Failed" )
183
183
{
184
184
Thread . Sleep ( TimeSpan . FromSeconds ( 1 ) ) ;
185
185
if ( job . StatusMessage == "Blocked" )
You can’t perform that action at this time.
0 commit comments