Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mockserver image overriding option #98

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

michalsomora
Copy link

Problem
When overriding mockserver image name following error is thrown
"Failed to verify that image '[custom-docker-registry/mockserver/mockserver:5.15.0](http://custom-docker-registry/mockserver/mockserver:5.15.0)' is a compatible substitute for 'jamesdbloom/mockserver'. This generally means that you are trying to use an image that Testcontainers has not been designed to use. If this is deliberate, and if you are confident that the image is compatible, you should declare compatibility in code using the asCompatibleSubstituteFor` method.
Solution
Adding asCompatibleSubstituteFor("mockserver/mockserver") to make overriding mockserver image name possible

@andrejpetras andrejpetras merged commit c8a9347 into quarkiverse:0.x Nov 20, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants