Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Commit 4411ae9

Browse files
committed
Update test to handle replica set messages
1 parent 886f0f9 commit 4411ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/native-client.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ describe('NativeClient', function() {
819819
it('disconnects the database', function(done) {
820820
client.disconnect();
821821
client.count('data-service.test', {}, {}, function(error) {
822-
expect(error.message).to.equal('Topology was destroyed');
822+
expect(error.message).to.include('was destroyed');
823823
done();
824824
});
825825
});

0 commit comments

Comments
 (0)