Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"expose-loader": "^0.7.3",
"form-data": "^2.3.1",
"gulp": "^3.9.1",
"interface-ipfs-core": "~0.33.1",
"interface-ipfs-core": "~0.33.2",
"ipfsd-ctl": "~0.24.0",
"left-pad": "^1.1.3",
"lodash": "^4.17.4",
Expand Down Expand Up @@ -105,21 +105,21 @@
"hapi-set-header": "^1.0.2",
"hoek": "^5.0.2",
"ipfs-api": "^15.0.1",
"ipfs-bitswap": "~0.17.2",
"ipfs-bitswap": "~0.17.4",
"ipfs-block": "~0.6.1",
"ipfs-block-service": "~0.13.0",
"ipfs-multipart": "~0.1.0",
"ipfs-repo": "~0.18.3",
"ipfs-unixfs": "~0.1.14",
"ipfs-unixfs-engine": "~0.23.0",
"ipfs-unixfs-engine": "~0.23.1",
"ipld-resolver": "~0.14.1",
"is-ipfs": "^0.3.2",
"is-stream": "^1.1.0",
"joi": "^13.0.1",
"libp2p": "~0.13.0",
"libp2p-circuit": "~0.1.4",
"libp2p-floodsub": "~0.11.1",
"libp2p-kad-dht": "~0.5.1",
"libp2p-kad-dht": "~0.6.0",
"libp2p-mdns": "~0.9.1",
"libp2p-multiplex": "~0.5.0",
"libp2p-railing": "~0.7.1",
Expand All @@ -140,7 +140,7 @@
"path-exists": "^3.0.0",
"peer-book": "~0.5.1",
"peer-id": "~0.10.2",
"peer-info": "~0.11.0",
"peer-info": "~0.11.1",
"progress": "^2.0.0",
"promisify-es6": "^1.0.3",
"pull-abortable": "^4.1.1",
Expand Down
6 changes: 3 additions & 3 deletions test/core/bitswap.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('bitswap', () => {
let inProcNode // Node spawned inside this process

beforeEach(function (done) {
this.timeout(15 * 1000)
this.timeout(30 * 1000)

let config = {
repo: createTempRepo(),
Expand Down Expand Up @@ -71,7 +71,7 @@ describe('bitswap', () => {
})

afterEach(function (done) {
this.timeout(15 * 1000)
this.timeout(30 * 1000)

inProcNode.stop(() => done())
})
Expand Down Expand Up @@ -141,7 +141,7 @@ describe('bitswap', () => {
})

it('3 peers', function (done) {
this.timeout(20 * 1000)
this.timeout(30 * 1000)

let blocks
const remoteNodes = []
Expand Down
6 changes: 4 additions & 2 deletions test/core/circuit-relay.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function peerInfoFromObj (obj, callback) {
}

describe('circuit', function () {
this.timeout(20 * 1000)
this.timeout(40 * 1000)

let factory

Expand All @@ -44,7 +44,9 @@ describe('circuit', function () {
// let nodeId1
let nodeId2

before((done) => {
before(function (done) {
this.timeout(40 * 1000)

factory = new IPFSFactory()

const base = {
Expand Down
16 changes: 3 additions & 13 deletions test/core/create-node.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const IPFS = require('../../src/core')
// This gets replaced by `create-repo-browser.js` in the browser
const createTempRepo = require('../utils/create-repo-nodejs.js')

describe('create node', () => {
it('custom repoPath', function (done) {
this.timeout(15 * 1000)
describe('create node', function () {
this.timeout(30 * 1000)

it('custom repoPath', function (done) {
const node = new IPFS({
repo: '/tmp/ipfs-repo-' + Math.random(),
config: {
Expand All @@ -41,8 +41,6 @@ describe('create node', () => {
})

it('custom repo', function (done) {
this.timeout(15 * 1000)

const node = new IPFS({
repo: createTempRepo(),
config: {
Expand All @@ -65,7 +63,6 @@ describe('create node', () => {
})

it('IPFS.createNode', function (done) {
this.timeout(15 * 1000)
const node = IPFS.createNode({
repo: createTempRepo(),
config: {
Expand Down Expand Up @@ -160,7 +157,6 @@ describe('create node', () => {
})

it('init: true, start: false', function (done) {
this.timeout(20 * 1000)
const node = new IPFS({
repo: createTempRepo(),
init: true,
Expand All @@ -181,8 +177,6 @@ describe('create node', () => {
})

it('init: true, start: false, use callback', function (done) {
this.timeout(20 * 1000)

const node = new IPFS({
repo: createTempRepo(),
init: true,
Expand Down Expand Up @@ -232,8 +226,6 @@ describe('create node', () => {
})

it('start and stop, start and stop', function (done) {
this.timeout(15 * 1000)

const node = new IPFS({
repo: createTempRepo(),
config: {
Expand All @@ -253,8 +245,6 @@ describe('create node', () => {
})

it('can start node twice without crash', function (done) {
this.timeout(15 * 1000)

const options = {
repo: createTempRepo(),
config: {
Expand Down
6 changes: 3 additions & 3 deletions test/core/files-sharding.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('files dir', () => {
after((done) => ipfs.stop(done))

it('should be able to add dir without sharding', function (done) {
this.timeout(15 * 1000)
this.timeout(30 * 1000)

pull(
pull.values(files),
Expand All @@ -65,7 +65,7 @@ describe('files dir', () => {
let ipfs

before(function (done) {
this.timeout(15 * 1000)
this.timeout(30 * 1000)

ipfs = new IPFS({
repo: createTempRepo(),
Expand All @@ -85,7 +85,7 @@ describe('files dir', () => {
after((done) => ipfs.stop(done))

it('should be able to add dir with sharding', function (done) {
this.timeout(15 * 1000)
this.timeout(30 * 1000)

pull(
pull.values(files),
Expand Down