From 62ae4e8712d3253a7c792063327e5caff4e737a3 Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Wed, 20 Oct 2021 17:43:47 +0100 Subject: [PATCH 1/2] Update to latest shared nugets --- .../TransactionProcessorACL.BusinessLogic.csproj | 2 +- .../Common/DockerHelper.cs | 8 ++++++-- .../TransactionProcessorACL.IntegrationTests.csproj | 4 ++-- TransactionProcessorACL/TransactionProcessorACL.csproj | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/TransactionProcessorACL.BusinessLogic/TransactionProcessorACL.BusinessLogic.csproj b/TransactionProcessorACL.BusinessLogic/TransactionProcessorACL.BusinessLogic.csproj index 788dd1c..707c508 100644 --- a/TransactionProcessorACL.BusinessLogic/TransactionProcessorACL.BusinessLogic.csproj +++ b/TransactionProcessorACL.BusinessLogic/TransactionProcessorACL.BusinessLogic.csproj @@ -7,7 +7,7 @@ - + diff --git a/TransactionProcessorACL.IntegrationTests/Common/DockerHelper.cs b/TransactionProcessorACL.IntegrationTests/Common/DockerHelper.cs index b674c33..9c60322 100644 --- a/TransactionProcessorACL.IntegrationTests/Common/DockerHelper.cs +++ b/TransactionProcessorACL.IntegrationTests/Common/DockerHelper.cs @@ -274,10 +274,14 @@ await Retry.For(async () => "stuartferguson/testhosts", new List { - testNetwork + testNetwork, + Setup.DatabaseServerNetwork }, traceFolder, - dockerCredentials, + dockerCredentials, + (Setup.SqlServerContainerName, + "sa", + "thisisalongpassword123!"), true); this.Containers.AddRange(new List diff --git a/TransactionProcessorACL.IntegrationTests/TransactionProcessorACL.IntegrationTests.csproj b/TransactionProcessorACL.IntegrationTests/TransactionProcessorACL.IntegrationTests.csproj index 37e9171..8119079 100644 --- a/TransactionProcessorACL.IntegrationTests/TransactionProcessorACL.IntegrationTests.csproj +++ b/TransactionProcessorACL.IntegrationTests/TransactionProcessorACL.IntegrationTests.csproj @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ - + diff --git a/TransactionProcessorACL/TransactionProcessorACL.csproj b/TransactionProcessorACL/TransactionProcessorACL.csproj index 5b0b198..1980e10 100644 --- a/TransactionProcessorACL/TransactionProcessorACL.csproj +++ b/TransactionProcessorACL/TransactionProcessorACL.csproj @@ -20,7 +20,7 @@ - + From 617d9e1322b8647f27835ff03e6f6003deea0fdc Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Wed, 20 Oct 2021 20:31:47 +0100 Subject: [PATCH 2/2] :| --- TransactionProcessorACL.IntegrationTests/Common/Setup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TransactionProcessorACL.IntegrationTests/Common/Setup.cs b/TransactionProcessorACL.IntegrationTests/Common/Setup.cs index 1d1f390..a2912ea 100644 --- a/TransactionProcessorACL.IntegrationTests/Common/Setup.cs +++ b/TransactionProcessorACL.IntegrationTests/Common/Setup.cs @@ -46,7 +46,7 @@ protected static void GlobalSetup() // Start the Database Server here DatabaseServerContainer = global::Shared.IntegrationTesting.DockerHelper.StartSqlContainerWithOpenConnection(Setup.SqlServerContainerName, logger, - "stuartferguson/subscriptionservicedatabasesqlserver", + "mcr.microsoft.com/mssql/server:2019-latest", Setup.DatabaseServerNetwork, "", dockerCredentials,