File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/modules/azurecosmosdb/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ import {
22 AbstractStartedContainer ,
33 GenericContainer ,
44 PortGenerator ,
5- RandomUniquePortGenerator ,
5+ RandomPortGenerator ,
66 StartedTestContainer ,
77 Wait ,
88} from "testcontainers" ;
99
1010type Protocol = "http" | "https" ;
11+
1112const DEFAULT_KEY = "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==" ; // default key for Cosmos DB Emulator
1213const DEFAULT_PROTOCOL = "http" ;
1314const DEFAULT_TELEMETRY_ENABLED = false ;
@@ -24,7 +25,7 @@ export class AzureCosmosDbEmulatorContainer extends GenericContainer {
2425
2526 constructor ( image : string ) {
2627 super ( image ) ;
27- this . portGenerator = new RandomUniquePortGenerator ( ) ;
28+ this . portGenerator = new RandomPortGenerator ( ) ;
2829 this . withWaitStrategy ( Wait . forLogMessage ( COSMOS_READY_LOG_MESSAGE ) ) ;
2930 }
3031
You can’t perform that action at this time.
0 commit comments