mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
WireMock.Net 1.5.46 is incompatible with TestContainers 3.7.0 (issue 2) #568
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ruairica on GitHub (Jan 24, 2024).
Originally assigned to: @StefH on GitHub.
Describe the bug
When using another TestContainers Module that relies on Testcontainers 3.7.0, WireMock container throws an exception.
Program.cs
this code fails throws exception
when the csproj is
the exception is not thrown when I downgrade Testcontainers.CosmosDb to 3.6.0.
Expected behavior:
On nuget (https://www.nuget.org/packages/WireMock.Net.Testcontainers#dependencies-body-tab) states atleast 3.6.0 TestContainers https://www.nuget.org/packages/Testcontainers/) (>= 3.6.0) so I would expect it not to throw an exception when I upgrade the other module to 3.7.0
Test to reproduce
Create a new console application
add the following to .csproj
Program.cs:
@StefH commented on GitHub (Jan 24, 2024):
@ruairica
You can try preview version
1.5.46-ci-18317if that solves your problem.https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions
@StefH commented on GitHub (Jan 25, 2024):
https://github.com/WireMock-Net/WireMock.Net/issues/1059
@StefH commented on GitHub (Jan 25, 2024):
I'll release a new official NuGet today.