Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

restructure and add spdy to browser tests #64

Merged
merged 2 commits into from
May 23, 2016
Merged

Conversation

daviddias
Copy link
Member

WIP

swarmB.transport.listen('ws', {}, null, cb)
swarmB.transport.listen('ws', {}, null, () => {
// swarmB.connection.addStreamMuxer(spdy)
// swarmB.connection.reuse()
Copy link
Member Author

Choose a reason for hiding this comment

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

@dignifiedquire spdy (or identify) wasn't being used for browser tests and I found that if I run them:

  • with spdy - they pass locally, fail on CI
  • with identify - they fail

However, this is combination is used in several other places, including orbit. Are these tests missing anything?

Copy link
Member

Choose a reason for hiding this comment

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

Are you seeing these issues with tcp as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

nop. It doesn't even happen with websockets just in Node.js, it only happens in the browser tests

@daviddias daviddias force-pushed the add/webrtc-star branch 2 times, most recently from eade639 to a835995 Compare May 22, 2016 17:06
swarm1.connection.addStreamMuxer(spdy)
// swarm1.connection.reuse()
swarm2.connection.addStreamMuxer(spdy)
// swarm2.connection.reuse()
Copy link
Member Author

Choose a reason for hiding this comment

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

Also not being successful with Identify on top of webrtc-star (in the browser)

I'm really intrigued, since identify has been a key enabler for Orbit and there are so many successful tests.

@daviddias daviddias force-pushed the add/webrtc-star branch 2 times, most recently from 25e2119 to b5865fe Compare May 22, 2016 17:30
@daviddias
Copy link
Member Author

Going to merge this and update libp2p-ipfs-browser, so that then we can test js-ipfs with bitswap on top of it :)

@daviddias daviddias merged commit c53068c into master May 23, 2016
@daviddias daviddias deleted the add/webrtc-star branch May 23, 2016 07:06
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