diff --git a/packages/backend-core/tests/core/utilities/testContainerUtils.ts b/packages/backend-core/tests/core/utilities/testContainerUtils.ts index c144e82eea..4a60ce6eb3 100644 --- a/packages/backend-core/tests/core/utilities/testContainerUtils.ts +++ b/packages/backend-core/tests/core/utilities/testContainerUtils.ts @@ -55,7 +55,7 @@ export function getContainerByImage(image: string) { } function getContainerByName(name: string) { - return getTestcontainers().find(x => x.Names === name) + return getTestcontainers().find(x => x.Names.includes(name)) } export function getContainerById(id: string) { diff --git a/packages/server/src/integrations/tests/utils/mssql.ts b/packages/server/src/integrations/tests/utils/mssql.ts index 548631a987..aa6ef7a1e3 100644 --- a/packages/server/src/integrations/tests/utils/mssql.ts +++ b/packages/server/src/integrations/tests/utils/mssql.ts @@ -24,7 +24,7 @@ export async function getDatasource(): Promise { .withWaitStrategy( Wait.forSuccessfulCommand( "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Password_123 -q 'SELECT 1'" - ).withStartupTimeout(20000) + ).withStartupTimeout(60000) ) ) }