From 6943a5227e12690841940fe3432ffd31a3df45c2 Mon Sep 17 00:00:00 2001 From: Paul Welter Date: Fri, 26 Jul 2024 11:42:25 -0500 Subject: [PATCH] fix text --- test/FluentCommand.SqlServer.Tests/DatabaseFixture.cs | 5 ++++- test/FluentCommand.SqlServer.Tests/appsettings.github.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/FluentCommand.SqlServer.Tests/DatabaseFixture.cs b/test/FluentCommand.SqlServer.Tests/DatabaseFixture.cs index 6ac88594..8eadbed7 100644 --- a/test/FluentCommand.SqlServer.Tests/DatabaseFixture.cs +++ b/test/FluentCommand.SqlServer.Tests/DatabaseFixture.cs @@ -1,5 +1,7 @@ using Azure.Storage.Blobs; +using DotNet.Testcontainers.Builders; + using FluentCommand.Caching; using Microsoft.Data.SqlClient; @@ -20,7 +22,8 @@ public class DatabaseFixture : TestApplicationFixture, IAsyncLifetime { private readonly MsSqlContainer _msSqlContainer = new MsSqlBuilder() .WithImage("mcr.microsoft.com/mssql/server:2022-latest") - .WithPassword("!P@ss0rd") + .WithPassword("Bn87bBYhLjYRj%9zRgUc") + .WithWaitStrategy(Wait.ForUnixContainer().UntilPortIsAvailable(1433)) .Build(); private readonly RedisContainer _redisContainer = new RedisBuilder() diff --git a/test/FluentCommand.SqlServer.Tests/appsettings.github.json b/test/FluentCommand.SqlServer.Tests/appsettings.github.json index 6e40bf4e..cb8d2b8a 100644 --- a/test/FluentCommand.SqlServer.Tests/appsettings.github.json +++ b/test/FluentCommand.SqlServer.Tests/appsettings.github.json @@ -1,5 +1,5 @@ { "ConnectionStrings": { - "Tracker": "Server=localhost;Database=TrackerGithub;User Id=SA;Password=!P@ssw0rd;TrustServerCertificate=True;" + "Tracker": "Server=localhost;Database=TrackerGithub;User Id=SA;Password=Bn87bBYhLjYRj%9zRgUc;TrustServerCertificate=True;" } }