Skip to content

Commit

Permalink
test: do not check TXT content in test-dns-any
Browse files Browse the repository at this point in the history
google.com added another TXT record which broke this test.
This removes the check on the content of the TXT record
since that depends on an external state subject to change.

PR-URL: #18547
Reviewed-By: Khaidi Chu <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
joyeecheung authored and MylesBorins committed Feb 21, 2018
1 parent 9aea92e commit c230219
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/internet/test-dns-any.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ const checkers = {
checkTXT(r) {
assert.ok(Array.isArray(r.entries));
assert.ok(r.entries.length > 0);
r.entries.forEach((txt) => {
assert(txt.startsWith('v=spf1'));
});
assert.strictEqual(r.type, 'TXT');
},
checkSOA(r) {
Expand Down

0 comments on commit c230219

Please sign in to comment.