GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: deflake test-dns · nodejs/node@597bc14

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-dns.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-dns.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-dns.js
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -361,11 +361,11 @@ assert.throws(() => {
361361
const cases = [
362362
{ method: 'resolveAny',
363363
answers: [
364-
{ type: 'A', address: '1.2.3.4', ttl: 3333333333 },
365-
{ type: 'AAAA', address: '::42', ttl: 3333333333 },
366-
{ type: 'MX', priority: 42, exchange: 'foobar.com', ttl: 3333333333 },
367-
{ type: 'NS', value: 'foobar.org', ttl: 3333333333 },
368-
{ type: 'PTR', value: 'baz.org', ttl: 3333333333 },
364+
{ type: 'A', address: '1.2.3.4', ttl: 0 },
365+
{ type: 'AAAA', address: '::42', ttl: 0 },
366+
{ type: 'MX', priority: 42, exchange: 'foobar.com', ttl: 0 },
367+
{ type: 'NS', value: 'foobar.org', ttl: 0 },
368+
{ type: 'PTR', value: 'baz.org', ttl: 0 },
369369
{
370370
type: 'SOA',
371371
nsname: 'ns1.example.com',
@@ -380,11 +380,11 @@ assert.throws(() => {
380380

381381
{ method: 'resolve4',
382382
options: { ttl: true },
383-
answers: [ { type: 'A', address: '1.2.3.4', ttl: 3333333333 } ] },
383+
answers: [ { type: 'A', address: '1.2.3.4', ttl: 0 } ] },
384384

385385
{ method: 'resolve6',
386386
options: { ttl: true },
387-
answers: [ { type: 'AAAA', address: '::42', ttl: 3333333333 } ] },
387+
answers: [ { type: 'AAAA', address: '::42', ttl: 0 } ] },
388388

389389
{ method: 'resolveSoa',
390390
answers: [
@@ -415,7 +415,7 @@ assert.throws(() => {
415415
(answer) => Object.assign({ domain }, answer)
416416
),
417417
}), port, address);
418-
}, cases.length));
418+
}, cases.length * 2 - 1));
419419

420420
server.bind(0, common.mustCall(() => {
421421
const address = server.address();

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.