mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-28 03:37:45 +02:00
Fix TestcontainersTests to ignore exception when stopping (#1314)
This commit is contained in:
@@ -69,7 +69,7 @@ public partial class TestcontainersTests
|
||||
}
|
||||
finally
|
||||
{
|
||||
await wireMockContainer.StopAsync();
|
||||
await StopAsync(wireMockContainer);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ public partial class TestcontainersTests
|
||||
}
|
||||
finally
|
||||
{
|
||||
await wireMockContainer.StopAsync();
|
||||
await StopAsync(wireMockContainer);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ public partial class TestcontainersTests
|
||||
|
||||
Then_ReplyMessage_Should_BeCorrect(reply);
|
||||
|
||||
await wireMockContainer.StopAsync();
|
||||
await StopAsync(wireMockContainer);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -150,7 +150,7 @@ public partial class TestcontainersTests
|
||||
|
||||
Then_ReplyMessage_Should_BeCorrect(reply);
|
||||
|
||||
await wireMockContainer.StopAsync();
|
||||
await StopAsync(wireMockContainer);
|
||||
}
|
||||
|
||||
private static async Task<WireMockContainer> Given_WireMockContainerIsStartedForHttpAndGrpcAsync()
|
||||
|
||||
Reference in New Issue
Block a user