File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/cubejs-testing-shared/src/db-container-runners Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,15 @@ export class MssqlDbRunner extends DbRunnerAbstract {
66 public static startContainer ( options : DBRunnerContainerOptions ) {
77 const version = process . env . TEST_MSSQL_VERSION || options . version || '2019-latest' ;
88
9+ const logMsg = version === '2019-latest' ? 'Service Broker manager has started' : 'SQL Server is now ready for client connections' ;
10+
911 const container = new GenericContainer ( `mcr.microsoft.com/mssql/server:${ version } ` )
1012 . withEnvironment ( {
1113 ACCEPT_EULA : 'Y' ,
1214 MSSQL_SA_PASSWORD : process . env . TEST_DB_PASSWORD || 'Test1test' ,
1315 } )
1416 . withExposedPorts ( 1433 )
15- . withWaitStrategy ( Wait . forLogMessage ( 'Service Broker manager has started' ) )
17+ . withWaitStrategy ( Wait . forLogMessage ( logMsg ) )
1618 . withStartupTimeout ( 30 * 1000 ) ;
1719
1820 if ( options . volumes ) {
You can’t perform that action at this time.
0 commit comments