We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfbc7e6 commit 249056aCopy full SHA for 249056a
test/manual/kerberos.test.js
@@ -51,12 +51,13 @@ describe('Kerberos', function () {
51
});
52
53
54
- it('validate that CANONICALIZE_HOST_NAME can be passed in', async function () {
+ it('validate that CANONICALIZE_HOST_NAME can be passed in', function (done) {
55
const client = new MongoClient(
56
`${krb5Uri}&authMechanismProperties=SERVICE_NAME:mongodb,CANONICALIZE_HOST_NAME:true&maxPoolSize=1`
57
);
58
- await client.connect();
59
- verifyKerberosAuthentication(client, done);
+ client.connect(function (err, client) {
+ if (err) return done(err);
60
+ verifyKerberosAuthentication(client, done);
61
62
63
0 commit comments