Skip to content

Commit abe949a

Browse files
committed
test(NODE-2939): empty ptr record falls back to host name
1 parent fdeb7a7 commit abe949a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/manual/kerberos.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ describe('Kerberos', function () {
166166
expect(dns.lookup).to.be.calledThrice;
167167
// This fails.
168168
expect(dns.resolvePtr).to.be.calledOnce;
169-
// Expect the fallback to be called.
170-
expect(dns.resolveCname).to.be.calledOnce;
169+
// Expect the fallback to the host name.
170+
expect(dns.resolveCname).to.not.be.called;
171171
verifyKerberosAuthentication(client, done);
172172
});
173173
});

0 commit comments

Comments
 (0)