This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +16
-15
lines changed Expand file tree Collapse file tree 5 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ const expect = chai.expect
99chai . use ( dirtyChai )
1010
1111module . exports = ( common ) => {
12- describe ( '.config' , ( ) => {
12+ describe ( '.config' , function ( ) {
13+ this . timeout ( 20 * 1000 )
1314 let ipfs
1415
1516 before ( ( done ) => {
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ function spawnWithId (factory, callback) {
2424}
2525
2626module . exports = ( common ) => {
27- describe ( '.dht' , ( ) => {
27+ describe ( '.dht' , function ( ) {
28+ this . timeout ( 20 * 1000 )
29+
2830 let nodeA
2931 let nodeB
3032 let nodeC
Original file line number Diff line number Diff line change @@ -13,13 +13,12 @@ const bs58 = require('bs58')
1313const series = require ( 'async/series' )
1414
1515module . exports = ( common ) => {
16- describe ( '.object' , ( ) => {
17- let ipfs
16+ describe ( '.object' , function ( ) {
17+ this . timeout ( 20 * 1000 )
1818
19- before ( function ( done ) {
20- // CI is slow
21- this . timeout ( 20 * 1000 )
19+ let ipfs
2220
21+ before ( ( done ) => {
2322 common . setup ( ( err , factory ) => {
2423 expect ( err ) . to . not . exist ( )
2524 factory . spawnNode ( ( err , node ) => {
Original file line number Diff line number Diff line change @@ -12,15 +12,12 @@ const loadFixture = require('aegir/fixtures')
1212const testfile = loadFixture ( __dirname , '../test/fixtures/testfile.txt' , 'interface-ipfs-core' )
1313
1414module . exports = ( common ) => {
15- describe ( '.pin' , ( ) => {
16- let ipfs
15+ describe ( '.pin' , function ( ) {
16+ this . timeout ( 50 * 1000 )
1717
18- before ( function ( done ) {
19- // CI takes longer to instantiate the daemon,
20- // so we need to increase the timeout for the
21- // before step
22- this . timeout ( 20 * 1000 )
18+ let ipfs
2319
20+ before ( ( done ) => {
2421 common . setup ( ( err , factory ) => {
2522 expect ( err ) . to . not . exist ( )
2623 factory . spawnNode ( ( err , node ) => {
Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ function makeCheck (n, done) {
5858}
5959
6060module . exports = ( common ) => {
61- describe ( '.pubsub' , ( ) => {
61+ describe ( '.pubsub' , function ( ) {
62+ this . timeout ( 20 * 1000 )
63+
6264 const topic = 'pubsub-tests'
6365
6466 describe ( 'callback API' , ( ) => {
You can’t perform that action at this time.
0 commit comments