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

Async Crypto Endeavour #99

Merged
merged 8 commits into from
Nov 11, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const w = require('webrtcsupport')

// require('./websockets-only')
require('./websockets-only')

if (w.support) {
require('./webrtc-star-only')
Expand Down
12 changes: 6 additions & 6 deletions test/websockets-only.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('libp2p-ipfs-browser (websockets only)', () => {
})
})

it('libp2p.dialByMultiaddr on Protocol nodeA to nodeB', (done) => {
it.skip('libp2p.dialByMultiaddr on Protocol nodeA to nodeB', (done) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

missed one -.-

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is not on my computer oO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah it's outdated, see the last commit

nodeA.dialByMultiaddr(peerB.multiaddrs[0], '/echo/1.0.0', (err, conn) => {
expect(err).to.not.exist
const peers = nodeA.peerBook.getAll()
Expand All @@ -85,7 +85,7 @@ describe('libp2p-ipfs-browser (websockets only)', () => {
})
})

it('libp2p.hangupByMultiaddr nodeA to nodeB', (done) => {
it.skip('libp2p.hangupByMultiaddr nodeA to nodeB', (done) => {
nodeA.hangUpByMultiaddr(peerB.multiaddrs[0], (err) => {
expect(err).to.not.exist
setTimeout(check, 500)
Expand All @@ -100,7 +100,7 @@ describe('libp2p-ipfs-browser (websockets only)', () => {
})
})

it('libp2p.dialByPeerInfo nodeA to nodeB', (done) => {
it.skip('libp2p.dialByPeerInfo nodeA to nodeB', (done) => {
nodeA.dialByPeerInfo(peerB, (err) => {
expect(err).to.not.exist
// Some time for Identify to finish
Expand All @@ -116,7 +116,7 @@ describe('libp2p-ipfs-browser (websockets only)', () => {
})
})

it('libp2p.dialByPeerInfo on Protocol nodeA to nodeB', (done) => {
it.skip('libp2p.dialByPeerInfo on Protocol nodeA to nodeB', (done) => {
nodeA.dialByPeerInfo(peerB, '/echo/1.0.0', (err, conn) => {
expect(err).to.not.exist
const peers = nodeA.peerBook.getAll()
Expand All @@ -135,7 +135,7 @@ describe('libp2p-ipfs-browser (websockets only)', () => {
})
})

it('libp2p.hangupByPeerInfo nodeA to nodeB', (done) => {
it.skip('libp2p.hangupByPeerInfo nodeA to nodeB', (done) => {
nodeA.hangUpByPeerInfo(peerB, (err) => {
expect(err).to.not.exist
setTimeout(check, 500)
Expand All @@ -156,7 +156,7 @@ describe('libp2p-ipfs-browser (websockets only)', () => {
it.skip('libp2p.dialById on Protocol nodeA to nodeB', (done) => {})
it.skip('libp2p.hangupById nodeA to nodeB', (done) => {})

describe('stress', () => {
describe.skip('stress', () => {
it('one big write', (done) => {
nodeA.dialByPeerInfo(peerB, '/echo/1.0.0', (err, conn) => {
expect(err).to.not.exist
Expand Down