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

Figure out why tests are failing #1072

Merged
merged 5 commits into from
Nov 12, 2017
Merged

Figure out why tests are failing #1072

merged 5 commits into from
Nov 12, 2017

Conversation

daviddias
Copy link
Member

Solved some issues on the sharding tsts, but still seems something is weird with that codebase, see:

image

@ghost ghost assigned daviddias Nov 12, 2017
@ghost ghost added the status/in-progress In progress label Nov 12, 2017
expect(last.path).to.be.eql('test-folder')
expect(last.hash).to.be.eql('QmY8TxNWtNViN7syd2DHazPqu21qWfSNjzCDe78e4YMsUD')
expect(last.path).to.eql('test-folder')
expect(last.hash).to.eql('Qmb3JNLq2KcvDTSGT23qNQkMrr4Y4fYMktHh6DtC7YatLa')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pgte had to change this hash because now createTestFiles creates a clean array of files, resulting in a different hash. This means that js-ipfs-unixfs-engine mutates the files that are passed to it, this should be considered a bug.

@daviddias
Copy link
Member Author

I keep seeing these errors coming out from anywhere:
image

@daviddias
Copy link
Member Author

Just seeing
image

now

@daviddias
Copy link
Member Author

Found the issue. Circuit Relay was always on by default, causing IPFS to fail when it had no addresses to dial from, but it had relay on. It was trying to use relay without knowing how to use any other transport). This is a bug in the Circuit Relay code, @dryajov

@daviddias daviddias mentioned this pull request Nov 12, 2017
6 tasks
@daviddias daviddias requested a review from pgte November 12, 2017 11:42
@daviddias daviddias merged commit bb715f9 into master Nov 12, 2017
@daviddias daviddias deleted the fix-tests branch November 12, 2017 12:18
@ghost ghost removed the status/in-progress In progress label Nov 12, 2017
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.

1 participant