Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

test: enable bitswap tests on windows #1483

Merged
merged 5 commits into from
Aug 7, 2018
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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"form-data": "^2.3.2",
"hat": "0.0.3",
"interface-ipfs-core": "~0.75.1",
"ipfsd-ctl": "~0.39.0",
"ipfsd-ctl": "~0.39.1",
"mocha": "^5.2.0",
"ncp": "^2.0.0",
"nexpect": "~0.5.0",
Expand Down Expand Up @@ -109,7 +109,7 @@
"ipfs-block": "~0.7.1",
"ipfs-block-service": "~0.14.0",
"ipfs-http-response": "~0.1.2",
"ipfs-mfs": "~0.2.3",
"ipfs-mfs": "~0.2.5",
"ipfs-multipart": "~0.1.0",
"ipfs-repo": "~0.22.1",
"ipfs-unixfs": "~0.1.15",
Expand Down
7 changes: 1 addition & 6 deletions test/core/bitswap.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ const IPFSFactory = require('ipfsd-ctl')

const IPFS = require('../../src/core')

// TODO bitswap tests on windows is failing, missing proper shutdown of daemon
// https://github.com/ipfs/js-ipfsd-ctl/pull/205
const isWindows = require('../utils/platforms').isWindows
const skipOnWindows = isWindows() ? describe.skip : describe

function makeBlock (callback) {
const d = Buffer.from(`IPFS is awesome ${Math.random()}`)

Expand Down Expand Up @@ -89,7 +84,7 @@ function addNode (fDaemon, inProcNode, callback) {
})
}

skipOnWindows('bitswap', function () {
describe('bitswap', function () {
this.timeout(80 * 1000)

let inProcNode // Node spawned inside this process
Expand Down