-
Notifications
You must be signed in to change notification settings - Fork 298
Use a different remote server for test #711
Conversation
The previous server had issues, so the test timed out. Hopefully this on is more stable.
Some tests fail, but at least not the |
@@ -113,9 +113,9 @@ describe('.util', () => { | |||
}) | |||
|
|||
it('.urlAdd http with redirection', (done) => { | |||
ipfs.util.addFromURL('http://covers.openlibrary.org/book/id/969165.jpg', (err, result) => { | |||
ipfs.util.addFromURL('https://coverartarchive.org/release/6e2a1694-d8b9-466a-aa33-b1077b2333c1', (err, result) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vmx can we use one file used from the ipfs gateway?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you give me a link, for sure.
I don't know how to find URLs that redirect. I wanted a quick solution to the problem. The real fix would be one that doesn't need an Internet connection at all, but that's out of scope for me atm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm. Missed the need for a redirect :)
For comparison. With this pull request, this test didn't fail: https://ci.ipfs.team/blue/organizations/jenkins/IPFS%2Fjs-ipfs-api/detail/PR-711/4/tests |
The previous server had issues, so the test timed out. Hopefully
this on is more stable.