Skip to content

Commit

Permalink
test: fix stale IP, new err code
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Nov 13, 2024
1 parent c2cd436 commit 58981fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/get_mx.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('get_mx', function () {
// macOS: ENODATA, win: ENOTOUND, ubuntu: ESERVFAIL
const invalidCases = {
invalid: /queryMx (ENODATA|ENOTFOUND|ESERVFAIL) invalid/,
'gmail.xn--com-0da': /(ENOTFOUND|Cannot convert name to ASCII)/,
'gmail.xn--com-0da': /(ENOTFOUND|ENOMEM|Cannot convert name to ASCII)/,
'non-exist.haraka.tnpi.net': /ignore/,
'haraka.non-exist': /ignore/,
}
Expand Down Expand Up @@ -92,7 +92,7 @@ describe('get_mx', function () {

const expectedResolvedMx = [
{
exchange: '2605:ae00:329::14',
exchange: '2605:ae00:329::6',
priority: 10,
from_dns: 'mail.theartfarm.com',
},
Expand Down

0 comments on commit 58981fe

Please sign in to comment.