File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tests/integration/tools/mongodb Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ export type MongoClusterConfiguration = MongoRunnerConfiguration | MongoSearchCo
1616
1717const DOWNLOAD_RETRIES = 10 ;
1818
19+ const DEFAULT_LOCAL_IMAGE =
20+ "mongodb/mongodb-atlas-local@sha256:364c10e8de7fade95be8939fc817d15776f3724459ae689d078725c54a941333" ;
1921export class MongoDBClusterProcess {
2022 static async spinUp ( config : MongoClusterConfiguration ) : Promise < MongoDBClusterProcess > {
2123 if ( MongoDBClusterProcess . isSearchOptions ( config ) ) {
22- const runningContainer = await new GenericContainer ( config . image ?? "mongodb/mongodb-atlas-local:8" )
24+ const runningContainer = await new GenericContainer ( config . image ?? DEFAULT_LOCAL_IMAGE )
2325 . withExposedPorts ( 27017 )
2426 . withCommand ( [ "/usr/local/bin/runner" , "server" ] )
2527 . withWaitStrategy ( new ShellWaitStrategy ( `mongosh --eval 'db.test.getSearchIndexes()'` ) )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import {
1616import type { NodeDriverServiceProvider } from "@mongosh/service-provider-node-driver" ;
1717import type { SearchIndexStatus } from "../../../../../src/tools/mongodb/search/listSearchIndexes.js" ;
1818
19- const SEARCH_TIMEOUT = 20_000 ;
19+ const SEARCH_TIMEOUT = 60_000 ;
2020describeWithMongoDB ( "list search indexes tool in local MongoDB" , ( integration ) => {
2121 validateToolMetadata (
2222 integration ,
You can’t perform that action at this time.
0 commit comments