Skip to content

Commit

Permalink
fix(NODE-3351): fix lint errors and missing callback
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Feb 7, 2022
1 parent d52df19 commit 44abf04
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/manual/kerberos.test.js
Expand Up @@ -51,12 +51,13 @@ describe('Kerberos', function () {
});
});

it('validate that CANONICALIZE_HOST_NAME can be passed in', async function () {
it('validate that CANONICALIZE_HOST_NAME can be passed in', function (done) {
const client = new MongoClient(
`${krb5Uri}&authMechanismProperties=SERVICE_NAME:mongodb,CANONICALIZE_HOST_NAME:true&maxPoolSize=1`
);
await client.connect();
verifyKerberosAuthentication(client, done);
client.connect(function (err, client) {
if (err) return done(err);
verifyKerberosAuthentication(client, done);
});
});

Expand Down

0 comments on commit 44abf04

Please sign in to comment.