Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
test: increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Jan 17, 2018
1 parent a8a834d commit bbed9e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/exchange-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ describe('exchange files', () => {

describe('cat file', () => sizes.forEach((size) => {
it(`go -> js: ${pretty(size)}`, function (done) {
this.timeout(20 * 1000)
this.timeout(50 * 1000)
const data = crypto.randomBytes(size)
waterfall([
(cb) => goDaemon.api.add(data, cb),
Expand All @@ -147,6 +147,7 @@ describe('exchange files', () => {
})

it(`js -> go: ${pretty(size)}`, function (done) {
this.timeout(50 * 1000)
const data = crypto.randomBytes(size)
waterfall([
(cb) => jsDaemon.api.add(data, cb),
Expand All @@ -160,7 +161,6 @@ describe('exchange files', () => {

it(`js -> js: ${pretty(size)}`, function (done) {
this.timeout(20 * 1000)

const data = crypto.randomBytes(size)
waterfall([
(cb) => js2Daemon.api.add(data, cb),
Expand All @@ -176,7 +176,7 @@ describe('exchange files', () => {
// TODO these tests are not fetching the full dir??
describe('get directory', () => dirs.forEach((num) => {
it(`go -> js: depth: 5, num: ${num}`, function () {
this.timeout(20 * 1000)
this.timeout(50 * 1000)
const dir = tmpDir()
return randomFs({
path: dir,
Expand All @@ -194,7 +194,7 @@ describe('exchange files', () => {
})

it(`js -> go: depth: 5, num: ${num}`, function () {
this.timeout(20 * 1000)
this.timeout(50 * 1000)

const dir = tmpDir()
return randomFs({
Expand Down

0 comments on commit bbed9e5

Please sign in to comment.