diff --git a/src/ES.FX.Microsoft.EntityFrameworkCore.SqlServer/ES.FX.Microsoft.EntityFrameworkCore.SqlServer.csproj b/src/ES.FX.Microsoft.EntityFrameworkCore.SqlServer/ES.FX.Microsoft.EntityFrameworkCore.SqlServer.csproj index cdeb5b7..e78262f 100644 --- a/src/ES.FX.Microsoft.EntityFrameworkCore.SqlServer/ES.FX.Microsoft.EntityFrameworkCore.SqlServer.csproj +++ b/src/ES.FX.Microsoft.EntityFrameworkCore.SqlServer/ES.FX.Microsoft.EntityFrameworkCore.SqlServer.csproj @@ -6,10 +6,10 @@ enable - - - - + + + + diff --git a/tests/ES.FX.Shared.SqlServer.Tests/Fixtures/SqlServerContainerFixture.cs b/tests/ES.FX.Shared.SqlServer.Tests/Fixtures/SqlServerContainerFixture.cs index 9ed02ce..df46209 100644 --- a/tests/ES.FX.Shared.SqlServer.Tests/Fixtures/SqlServerContainerFixture.cs +++ b/tests/ES.FX.Shared.SqlServer.Tests/Fixtures/SqlServerContainerFixture.cs @@ -1,5 +1,4 @@ -using DotNet.Testcontainers.Builders; -using Testcontainers.MsSql; +using Testcontainers.MsSql; namespace ES.FX.Shared.SqlServer.Tests.Fixtures; @@ -15,15 +14,6 @@ public async Task InitializeAsync() Container = new MsSqlBuilder() .WithName($"{nameof(SqlServerContainerFixture)}-{Guid.NewGuid()}") .WithImage($"{Registry}/{Image}:{Tag}") - // FIXME until this is fixed https://github.com/testcontainers/testcontainers-dotnet/pull/1221 - .WithWaitStrategy(Wait.ForUnixContainer() - .UntilCommandIsCompleted( - "/opt/mssql-tools18/bin/sqlcmd", - "-C", - "-Q", - "SELECT 1;" - ) - ) .Build(); await Container.StartAsync(); }