Skip to content

Commit 5e0f44b

Browse files
asdf
1 parent 450b163 commit 5e0f44b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/integration/client-side-operations-timeout/client_side_operations_timeout.prose.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
promiseWithResolvers,
2222
squashError
2323
} from '../../mongodb';
24-
import { type FailPoint, makeMultiBatchWrite } from '../../tools/utils';
24+
import { type FailPoint, makeMultiBatchWrite, waitUntilPoolsFilled } from '../../tools/utils';
2525
import { filterForCommands } from '../shared';
2626

2727
// TODO(NODE-5824): Implement CSOT prose tests
@@ -346,7 +346,7 @@ describe('CSOT spec prose tests', function () {
346346
timeoutMS: 100,
347347
minPoolSize: 20
348348
});
349-
await client.connect();
349+
await waitUntilPoolsFilled(client, AbortSignal.timeout(30_000), 10);
350350

351351
commandStarted = [];
352352
commandSucceeded = [];

test/integration/crud/client_bulk_write.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,9 @@ describe('Client Bulk Write', function () {
320320

321321
it(
322322
'timeoutMS is refreshed to the timeoutMS passed to the bulk write for the killCursors command',
323-
metadata,
323+
{
324+
requires: { ...metadata.requires, topology: '!load-balanced' }
325+
},
324326
async function () {
325327
const models = await makeMultiResponseBatchModelArray(this.configuration);
326328
const timeoutError = await client

0 commit comments

Comments
 (0)