Skip to content

Commit 76fee52

Browse files
committed
test: lb
1 parent dc52b67 commit 76fee52

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/integration/node-specific/abort_signal.test.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,11 @@ describe('AbortSignal support', () => {
715715
});
716716
});
717717

718-
describe('when reauthenticating and the signal aborts', { requires: { auth: 'enabled' } }, () => {
718+
const reauthMetadata: MongoDBMetadataUI = {
719+
requires: { auth: 'enabled', topology: '!load-balanced' }
720+
};
721+
722+
describe('when reauthenticating and the signal aborts', () => {
719723
let client: MongoClient;
720724
let collection: Collection;
721725
let cursor;
@@ -773,7 +777,7 @@ describe('AbortSignal support', () => {
773777

774778
it(
775779
'escapes reauth without interrupting it and checks in the connection after reauth completes',
776-
{ requires: { auth: 'enabled' } },
780+
reauthMetadata,
777781
async () => {
778782
const checkIn = msOutOfPool();
779783

@@ -798,7 +802,7 @@ describe('AbortSignal support', () => {
798802

799803
it(
800804
'escapes reauth without interrupting it and checks in the connection after reauth completes',
801-
{ requires: { auth: 'enabled' } },
805+
reauthMetadata,
802806
async () => {
803807
const checkIn = msOutOfPool();
804808

0 commit comments

Comments
 (0)