Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/data/scripts/mssql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

for i in {1..50};
do
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -d master -Q "CREATE DATABASE $MSSQL_DATABASE;"
/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -No -d master -Q "CREATE DATABASE $MSSQL_DATABASE;"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iliayatsenko Do you have some reference about this renaming?

Could this be the reason for the failing pipeline in #77 (comment) as well?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@W0rma , yes, all description is in related issue. In short, please see this comment - microsoft/mssql-docker#892 (comment)

Regarding #77 , yes, it looks like the reason is the same.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest replacing the MSSQL image with server:2022-CU13-ubuntu-20.04, as the path issue is fixed in this version. This change will help avoid breaking the CI again if they revert the path in the future.

You can replace the image in docker_compose.yaml and github action configuration.

I've tested it on my branch and local machine, and it works properly.

if [ $? -eq 0 ]
then
echo "database created"
Expand Down