Skip to content

Commit 2e6fc0a

Browse files
committed
.
1 parent 72e86ee commit 2e6fc0a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source/Octopus.Tentacle.Client.Tests/RpcCallRetryHandlerFixture.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,8 +825,14 @@ public async Task MinimumAttempts_WhenSetTo3_MakesTwoRetriesEvenAfterTimeoutExce
825825
onTimeoutActionCalled.Should().BeFalse(); // Should succeed before timeout
826826
}
827827

828+
/// <summary>
829+
/// Connection error means the tentacle did not get the request, which means the tentacle is considered to be offline.
830+
/// This shows that we won't exceed the retry duration attempting to connect to an offline tentacle to meet the
831+
/// minimumAttemptsForInterruptedLongRunningCalls count.
832+
/// </summary>
833+
/// <exception cref="HalibutClientException"></exception>
828834
[Test]
829-
public async Task WhenConfiguredToMakeAMinimumNumberOfAttempts_ButWeReceiveConnectingExceptions_ThatExceedTheTimeout_TheMinimumNumberOfAttemptsAreNotMade()
835+
public async Task WhenConfiguredToMakeAMinimumNumberOfAttempts_AndTheFirstAttemptExceedsTheRetryDuration_AndTheFailureIsAConnectingFailure_ARetryIsNotMade()
830836
{
831837
var callCount = 0;
832838
var onRetryActionCalled = false;

0 commit comments

Comments
 (0)