Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion source/Halibut.Tests/ExceptionContractFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ public async Task WhenTheListeningRequestFailsToBeSent_AsTheServiceDoesNotAccept
(await AssertException.Throws<HalibutClientException>(async () => await client.SayHelloAsync("Hello", new(CancellationToken))))
.And.Message.Should().ContainAny(
$"An error occurred when sending a request to '{clientAndService.ServiceUri}', before the request could begin: No connection could be made because the target machine actively refused it",
$"An error occurred when sending a request to '{clientAndService.ServiceUri}', before the request could begin: Connection refused");
$"An error occurred when sending a request to '{clientAndService.ServiceUri}', before the request could begin: Connection refused",
// On Windows, a disposed port forwarder causes a TCP connect timeout rather than an immediate RST
$"An error occurred when sending a request to '{clientAndService.ServiceUri}', before the request could begin: The client was unable to establish the initial connection within the timeout");
}

[Test]
Expand Down