This repository was archived by the owner on Mar 10, 2020. It is now read-only.
File tree 5 files changed +16
-15
lines changed
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
9
9
chai . use ( dirtyChai )
10
10
11
11
module . exports = ( common ) => {
12
- describe ( '.config' , ( ) => {
12
+ describe ( '.config' , function ( ) {
13
+ this . timeout ( 20 * 1000 )
13
14
let ipfs
14
15
15
16
before ( ( done ) => {
Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ function spawnWithId (factory, callback) {
24
24
}
25
25
26
26
module . exports = ( common ) => {
27
- describe ( '.dht' , ( ) => {
27
+ describe ( '.dht' , function ( ) {
28
+ this . timeout ( 20 * 1000 )
29
+
28
30
let nodeA
29
31
let nodeB
30
32
let nodeC
Original file line number Diff line number Diff line change @@ -13,13 +13,12 @@ const bs58 = require('bs58')
13
13
const series = require ( 'async/series' )
14
14
15
15
module . exports = ( common ) => {
16
- describe ( '.object' , ( ) => {
17
- let ipfs
16
+ describe ( '.object' , function ( ) {
17
+ this . timeout ( 20 * 1000 )
18
18
19
- before ( function ( done ) {
20
- // CI is slow
21
- this . timeout ( 20 * 1000 )
19
+ let ipfs
22
20
21
+ before ( ( done ) => {
23
22
common . setup ( ( err , factory ) => {
24
23
expect ( err ) . to . not . exist ( )
25
24
factory . spawnNode ( ( err , node ) => {
Original file line number Diff line number Diff line change @@ -12,15 +12,12 @@ const loadFixture = require('aegir/fixtures')
12
12
const testfile = loadFixture ( __dirname , '../test/fixtures/testfile.txt' , 'interface-ipfs-core' )
13
13
14
14
module . exports = ( common ) => {
15
- describe ( '.pin' , ( ) => {
16
- let ipfs
15
+ describe ( '.pin' , function ( ) {
16
+ this . timeout ( 50 * 1000 )
17
17
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
23
19
20
+ before ( ( done ) => {
24
21
common . setup ( ( err , factory ) => {
25
22
expect ( err ) . to . not . exist ( )
26
23
factory . spawnNode ( ( err , node ) => {
Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ function makeCheck (n, done) {
58
58
}
59
59
60
60
module . exports = ( common ) => {
61
- describe ( '.pubsub' , ( ) => {
61
+ describe ( '.pubsub' , function ( ) {
62
+ this . timeout ( 20 * 1000 )
63
+
62
64
const topic = 'pubsub-tests'
63
65
64
66
describe ( 'callback API' , ( ) => {
You can’t perform that action at this time.
0 commit comments