Skip to content

Commit

Permalink
test: update uses of _jabber._tcp.google.com
Browse files Browse the repository at this point in the history
_jabber._tcp.google.com seems to have stopped working. This
commit changes the host to _caldav._tcp.google.com.

Refs: denoland/std#2881
PR-URL: #45451
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
cjihrig authored and ruyadorno committed Nov 21, 2022
1 parent 9e0e97c commit 45b54ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/common/internet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/internet/test-dns-any.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 45b54ee

Please sign in to comment.