From 45b54eec556f5a412603c04bef61f070545ae0c1 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sun, 13 Nov 2022 14:57:52 -0500 Subject: [PATCH] test: update uses of _jabber._tcp.google.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit _jabber._tcp.google.com seems to have stopped working. This commit changes the host to _caldav._tcp.google.com. Refs: https://github.com/denoland/deno_std/pull/2881 PR-URL: https://github.com/nodejs/node/pull/45451 Reviewed-By: Santiago Gimeno Reviewed-By: Yagiz Nizipli Reviewed-By: Tobias Nießen Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca --- test/common/internet.js | 2 +- test/internet/test-dns-any.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/common/internet.js b/test/common/internet.js index 0943ac96c45ec3..a15ee9ff69c774 100644 --- a/test/common/internet.js +++ b/test/common/internet.js @@ -25,7 +25,7 @@ const addresses = { // record not found. Use this to guarantee record not found. NOT_FOUND: 'come.on.fhqwhgads.test', // A host with SRV records registered - SRV_HOST: '_jabber._tcp.google.com', + SRV_HOST: '_caldav._tcp.google.com', // A host with PTR records registered PTR_HOST: '8.8.8.8.in-addr.arpa', // A host with NAPTR records registered diff --git a/test/internet/test-dns-any.js b/test/internet/test-dns-any.js index e721d0f99dcfd7..33556322a8d350 100644 --- a/test/internet/test-dns-any.js +++ b/test/internet/test-dns-any.js @@ -141,10 +141,10 @@ TEST(async function test_google_for_cname_and_srv(done) { assert.ok(types.SRV); } - validateResult(await dnsPromises.resolve('_jabber._tcp.google.com', 'ANY')); + validateResult(await dnsPromises.resolve('_caldav._tcp.google.com', 'ANY')); const req = dns.resolve( - '_jabber._tcp.google.com', + '_caldav._tcp.google.com', 'ANY', common.mustSucceed((ret) => { validateResult(ret);