Skip to content

Commit bff7258

Browse files
joyeecheunggibfahn
authored andcommitted
test: do not check TXT content in test-dns-any
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 Backport-PR-URL: #19706 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]>
1 parent daeb6de commit bff7258

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/internet/test-dns-any.js

-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ const checkers = {
5959
checkTXT(r) {
6060
assert.ok(Array.isArray(r.entries));
6161
assert.ok(r.entries.length > 0);
62-
r.entries.forEach((txt) => {
63-
assert(txt.startsWith('v=spf1'));
64-
});
6562
assert.strictEqual(r.type, 'TXT');
6663
},
6764
checkSOA(r) {

0 commit comments

Comments
 (0)