File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
ManagedCode.Database.Tests/TestContainers Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,17 @@ public CosmosTestContainer()
32
32
. WithImage ( "mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator" )
33
33
. WithName ( containerName )
34
34
. WithExposedPort ( 8081 )
35
+ . WithExposedPort ( 10251 )
36
+ . WithExposedPort ( 10252 )
37
+ . WithExposedPort ( 10253 )
38
+ . WithExposedPort ( 10254 )
39
+ . WithExposedPort ( 10255 )
35
40
. WithPortBinding ( 8081 , 8081 )
36
- . WithEnvironment ( "AZURE_COSMOS_EMULATOR_PARTITION_COUNT" , "1" )
41
+ . WithPortBinding ( 10251 , 10251 )
42
+ . WithPortBinding ( 10252 , 10252 )
43
+ . WithPortBinding ( 10253 , 10253 )
44
+ . WithPortBinding ( 10254 , 10254 )
45
+ . WithEnvironment ( "AZURE_COSMOS_EMULATOR_PARTITION_COUNT" , "6" )
37
46
. WithEnvironment ( "AZURE_COSMOS_EMULATOR_IP_ADDRESS_OVERRIDE" , "127.0.0.1" )
38
47
. WithEnvironment ( "AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE" , "false" )
39
48
. WithCleanUp ( false )
You can’t perform that action at this time.
0 commit comments