Skip to content

Commit 249056a

Browse files
committed
fix(NODE-3351): fix lint errors and missing callback
1 parent cfbc7e6 commit 249056a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/manual/kerberos.test.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ describe('Kerberos', function () {
5151
});
5252
});
5353

54-
it('validate that CANONICALIZE_HOST_NAME can be passed in', async function () {
54+
it('validate that CANONICALIZE_HOST_NAME can be passed in', function (done) {
5555
const client = new MongoClient(
5656
`${krb5Uri}&authMechanismProperties=SERVICE_NAME:mongodb,CANONICALIZE_HOST_NAME:true&maxPoolSize=1`
5757
);
58-
await client.connect();
59-
verifyKerberosAuthentication(client, done);
58+
client.connect(function (err, client) {
59+
if (err) return done(err);
60+
verifyKerberosAuthentication(client, done);
6061
});
6162
});
6263

0 commit comments

Comments
 (0)