Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

test failure: "recursively resolve _dnslink.ipfs.io" during CLI testing #2516

Closed
vincepmartin opened this issue Oct 7, 2019 · 3 comments
Closed
Assignees
Labels
effort/hours Estimated to take one or several hours exp/novice Someone with a little familiarity can pick up kind/resolved-in-helia kind/test Testing work P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked

Comments

@vincepmartin
Copy link
Contributor

  • js-ipfs version: 0.38.0-pre.1-:
  • Linux 4.15.0-20-generic node-ipfs-railing #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux:
  • CLI:

Type: Bug

Severity: Low

Description:

Running CLI tests via npm run test:node:cli causes the following 2 tests to fail.

 2 failing

  1) cli
       dns
         daemon off (directly to core)
           recursively resolve _dnslink.ipfs.io dns:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/robotburrito/Code/personal/js-ipfs/test/cli/index.js)
      at listOnTimeout (internal/timers.js:531:17)
      at processTimers (internal/timers.js:475:7)

  2) cli
       dns
         daemon on (through http-api)
           recursively resolve _dnslink.ipfs.io dns:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/robotburrito/Code/personal/js-ipfs/test/cli/index.js)
      at listOnTimeout (internal/timers.js:531:17)
      at processTimers (internal/timers.js:475:7)

Steps to reproduce the error:

Run tests via npm run test:node:cli command.

@vincepmartin
Copy link
Contributor Author

I found this, so I may as well try to fix it as it was found while fixing other cli testing problems!

@hugomrdias hugomrdias added exp/novice Someone with a little familiarity can pick up effort/hours Estimated to take one or several hours kind/test Testing work P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked labels Jun 4, 2020
@hugomrdias
Copy link
Member

dns tests need to be reworked to not depend on the public network

@whizzzkid
Copy link

whizzzkid commented May 31, 2023

js-ipfs is being deprecated in favor of Helia. You can follow the migration plan here #4336 and read the migration guide.

This issue has been resolved in Helia! if this does not address your concern please let us know by reopening this issue before 2023-06-05!

@github-project-automation github-project-automation bot moved this from 🛑 Blocked to ✅ Done in js-ipfs deprecation May 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
effort/hours Estimated to take one or several hours exp/novice Someone with a little familiarity can pick up kind/resolved-in-helia kind/test Testing work P2 Medium: Good to have, but can wait until someone steps up status/ready Ready to be worked
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants