Skip to content

Commit 9963a2a

Browse files
chore: pin Atlas image to working tag (#768)
1 parent 2fff1fc commit 9963a2a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/integration/tools/mongodb/create/createIndex.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ describeWithMongoDB(
510510
expect(indexes).toHaveLength(1);
511511
expect(indexes[0]?.name).toEqual("vector_1_vector");
512512
expect(indexes[0]?.type).toEqual("vectorSearch");
513-
expect(indexes[0]?.status).toEqual("PENDING");
513+
expect(indexes[0]?.status).toEqual(expect.stringMatching(/PENDING|BUILDING/));
514514
expect(indexes[0]?.queryable).toEqual(false);
515515
expect(indexes[0]?.latestDefinition).toEqual({
516516
fields: [

tests/integration/tools/mongodb/mongodbClusterProcess.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export type MongoClusterConfiguration = MongoRunnerConfiguration | MongoSearchCo
1616

1717
const DOWNLOAD_RETRIES = 10;
1818

19-
const DEFAULT_LOCAL_IMAGE = "mongodb/mongodb-atlas-local:8";
19+
// TODO: Revert this to generic tag 8, once the problem with atlas-local image
20+
// is addressed.
21+
const DEFAULT_LOCAL_IMAGE = "mongodb/mongodb-atlas-local:8.2.2-20251125T154829Z";
2022
export class MongoDBClusterProcess {
2123
static async spinUp(config: MongoClusterConfiguration): Promise<MongoDBClusterProcess> {
2224
if (MongoDBClusterProcess.isSearchOptions(config)) {

0 commit comments

Comments
 (0)