File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Ydb.Sdk/test/Ydb.Sdk.Ado.Tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ public void CanRetry_WhenOverloaded_RetriesRegardlessOfIdempotency()
7979 }
8080
8181 [ Fact ]
82- public void CanRetry_WhenTimeoutException_ReturnsTrue ( )
82+ public void CanRetry_WhenTimeoutException_ReturnsFalse ( )
8383 {
8484 var config = new RetryConfig ( ) ;
8585 var policy = new DefaultRetryPolicy ( config ) ;
8686
87- Assert . True ( policy . CanRetry ( new TimeoutException ( ) , isIdempotent : true ) ) ;
87+ Assert . False ( policy . CanRetry ( new TimeoutException ( ) , isIdempotent : true ) ) ;
8888 }
8989
9090 [ Fact ]
@@ -115,13 +115,13 @@ public void GetDelay_WhenDelayExceedsMaxDelay_IsCappedToMaxDelay()
115115 }
116116
117117 [ Fact ]
118- public void CanRetry_WhenOperationCanceledWithoutToken_ReturnsTrue ( )
118+ public void CanRetry_WhenOperationCanceledWithoutToken_ReturnsFalse ( )
119119 {
120120 var config = new RetryConfig ( ) ;
121121 var policy = new DefaultRetryPolicy ( config ) ;
122122
123123 var ex = new OperationCanceledException ( ) ;
124- Assert . True ( policy . CanRetry ( ex , isIdempotent : true ) ) ;
124+ Assert . False ( policy . CanRetry ( ex , isIdempotent : true ) ) ;
125125 }
126126
127127 private class DummyCommand : System . Data . Common . DbCommand
You can’t perform that action at this time.
0 commit comments