File tree 2 files changed +5
-15
lines changed
src/ES.FX.Microsoft.EntityFrameworkCore.SqlServer
tests/ES.FX.Shared.SqlServer.Tests/Fixtures
2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 6
6
<Nullable >enable</Nullable >
7
7
</PropertyGroup >
8
8
9
- <ItemGroup >
10
- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 8.0.8" />
11
- <PackageReference Include =" Testcontainers.MsSql" Version =" 3.10.0" />
12
- </ItemGroup >
9
+ <ItemGroup >
10
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 8.0.8" />
11
+ <PackageReference Include =" Testcontainers.MsSql" Version =" 3.10.0" />
12
+ </ItemGroup >
13
13
14
14
<ItemGroup >
15
15
<ProjectReference Include =" ..\ES.FX.Microsoft.EntityFrameworkCore\ES.FX.Microsoft.EntityFrameworkCore.csproj" />
Original file line number Diff line number Diff line change 1
- using DotNet . Testcontainers . Builders ;
2
- using Testcontainers . MsSql ;
1
+ using Testcontainers . MsSql ;
3
2
4
3
namespace ES . FX . Shared . SqlServer . Tests . Fixtures ;
5
4
@@ -15,15 +14,6 @@ public async Task InitializeAsync()
15
14
Container = new MsSqlBuilder ( )
16
15
. WithName ( $ "{ nameof ( SqlServerContainerFixture ) } -{ Guid . NewGuid ( ) } ")
17
16
. WithImage ( $ "{ Registry } /{ Image } :{ Tag } ")
18
- // FIXME until this is fixed https://github.com/testcontainers/testcontainers-dotnet/pull/1221
19
- . WithWaitStrategy ( Wait . ForUnixContainer ( )
20
- . UntilCommandIsCompleted (
21
- "/opt/mssql-tools18/bin/sqlcmd" ,
22
- "-C" ,
23
- "-Q" ,
24
- "SELECT 1;"
25
- )
26
- )
27
17
. Build ( ) ;
28
18
await Container . StartAsync ( ) ;
29
19
}
You can’t perform that action at this time.
0 commit comments