Skip to content

Commit 89beb22

Browse files
committed
test: getaddrinfo error codes aren't on windows
1 parent 93b88fb commit 89beb22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ describe('AbortSignal support', () => {
648648
await sleep(500);
649649
expect(client.topology).to.exist;
650650
expect(client.topology.description).to.have.property('type', 'Unknown');
651-
expect(findLast(logs, l => l.failure.includes('ENOTFOUND'))).to.exist;
651+
expect(findLast(logs, l => l.message.includes('Server selection failed'))).to.exist;
652652
});
653653
});
654654
});

0 commit comments

Comments
 (0)