Replies: 3 comments 3 replies
-
Default constructor is deprecated and not recommended anymore. You can use MSSQLServerContainer<?> mssqlServerContainer = new MSSQLServerContainer<>(
DockerImageName.parse("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04") |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yeah that’s one way of seeing it, the other is if I don’t specify a version I don’t care if it changes (in fact I expect the library to maintain a recent version). But yeah I guess whatever, this discussion is about another problem, I am curious if anybody knows why the old version does not work anymore on GitHub? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Good find, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since a random unrelated change in a GitHub project my Maven integration tests which use Testcontainer fail. It looks like the MSSQLServerContainer 2017-CU12 default tag stopped working and it looks like it’s a crash.
Anybody experienced this? Has the tag changed? This container works fine in my local Docker Desktop with WSL2 tests. Here is the first failed test: https://github.com/seeburger-ag/bis-resources/actions/runs/10995873923 (crash log)
After switching this project to 2022-latest, it continued to work.
BTW: will that default tag be bumped?
Beta Was this translation helpful? Give feedback.
All reactions