Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Use a different remote server for test #711

Merged
merged 1 commit into from
Mar 14, 2018
Merged

Use a different remote server for test #711

merged 1 commit into from
Mar 14, 2018

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Mar 9, 2018

The previous server had issues, so the test timed out. Hopefully
this on is more stable.

@vmx vmx requested a review from daviddias March 9, 2018 19:28
@ghost ghost assigned vmx Mar 9, 2018
@ghost ghost added the in progress label Mar 9, 2018
The previous server had issues, so the test timed out. Hopefully
this on is more stable.
@vmx
Copy link
Contributor Author

vmx commented Mar 9, 2018

Some tests fail, but at least not the .urlAdd http with redirection one anymore.

@@ -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) => {
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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 :)

@vmx vmx mentioned this pull request Mar 10, 2018
@vmx
Copy link
Contributor Author

vmx commented Mar 12, 2018

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

@vmx vmx mentioned this pull request Mar 12, 2018
9 tasks
@daviddias daviddias merged commit 1fc15a5 into master Mar 14, 2018
@ghost ghost removed the in progress label Mar 14, 2018
@daviddias daviddias deleted the faster-redirect branch March 14, 2018 14:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants