Skip to content

Commit

Permalink
[hibernate#1406] Upgrade MSSQL Server to 2022-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Oct 18, 2022
1 parent b919d1c commit 59538be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class MSSQLServerDatabase implements TestableDatabase {
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
*/
public static final MSSQLServerContainer<?> mssqlserver = new MSSQLServerContainer<>( imageName( "mcr.microsoft.com", "mssql/server", "2019-latest" ) )
public static final MSSQLServerContainer<?> mssqlserver = new MSSQLServerContainer<>( imageName( "mcr.microsoft.com", "mssql/server", "2022-latest" ) )
.acceptLicense()
.withPassword( PASSWORD )
.withReuse( true );
Expand Down
2 changes: 1 addition & 1 deletion podman.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ and schema to run the tests:
[mssql]:https://www.microsoft.com/en-gb/sql-server/

```
podman run --rm -it --name HibernateTestingMSSQL -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=~!HReact!~' -p 1433:1433 mcr.microsoft.com/mssql/server:2019-latest
podman run --rm -it --name HibernateTestingMSSQL -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=~!HReact!~' -p 1433:1433 mcr.microsoft.com/mssql/server:2022-latest
```

When the database has started, you can run the tests on MS SQL Server with:
Expand Down

0 comments on commit 59538be

Please sign in to comment.