Skip to content

Commit

Permalink
test: timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Oct 25, 2017
1 parent 1830571 commit e3b04a4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion test/nodejs-bundle/content-routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ describe('.contentRouting', () => {
let nodeD
let nodeE

before((done) => {
before(function (done) {
this.timeout(5000)
const tasks = _times(5, () => (cb) => {
createNode('/ip4/0.0.0.0/tcp/0', {
mdns: false,
Expand Down
3 changes: 2 additions & 1 deletion test/nodejs-bundle/peer-routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ describe('.peerRouting', () => {
let nodeD
let nodeE

before((done) => {
before(function (done) {
this.timeout(5000)
const tasks = _times(5, () => (cb) => {
createNode('/ip4/0.0.0.0/tcp/0', {
mdns: false,
Expand Down
4 changes: 2 additions & 2 deletions test/nodejs-bundle/stream-muxing.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('stream muxing', () => {
})

it('spdy + multiplex', function (done) {
this.timeout(3000)
this.timeout(5000)

let nodeA
let nodeB
Expand Down Expand Up @@ -136,7 +136,7 @@ describe('stream muxing', () => {
})

it('spdy + multiplex switched order', function (done) {
this.timeout(3000)
this.timeout(5000)

let nodeA
let nodeB
Expand Down
3 changes: 2 additions & 1 deletion test/nodejs-bundle/tcp+websockets+webrtc-star.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ describe('TCP + WebSockets + WebRTCStar', () => {

let ss

before((done) => {
before(function (done) {
this.timeout(5000)
parallel([
(cb) => {
signalling.start({ port: 24642 }, (err, server) => {
Expand Down

0 comments on commit e3b04a4

Please sign in to comment.