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

Commit 29b5b33

Browse files
authored
test: enable bitswap tests on windows (#1483)
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent e607560 commit 29b5b33

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"form-data": "^2.3.2",
7272
"hat": "0.0.3",
7373
"interface-ipfs-core": "~0.75.1",
74-
"ipfsd-ctl": "~0.39.0",
74+
"ipfsd-ctl": "~0.39.1",
7575
"mocha": "^5.2.0",
7676
"ncp": "^2.0.0",
7777
"nexpect": "~0.5.0",
@@ -109,7 +109,7 @@
109109
"ipfs-block": "~0.7.1",
110110
"ipfs-block-service": "~0.14.0",
111111
"ipfs-http-response": "~0.1.2",
112-
"ipfs-mfs": "~0.2.3",
112+
"ipfs-mfs": "~0.2.5",
113113
"ipfs-multipart": "~0.1.0",
114114
"ipfs-repo": "~0.22.1",
115115
"ipfs-unixfs": "~0.1.15",

test/core/bitswap.spec.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ const IPFSFactory = require('ipfsd-ctl')
2020

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

23-
// TODO bitswap tests on windows is failing, missing proper shutdown of daemon
24-
// https://github.com/ipfs/js-ipfsd-ctl/pull/205
25-
const isWindows = require('../utils/platforms').isWindows
26-
const skipOnWindows = isWindows() ? describe.skip : describe
27-
2823
function makeBlock (callback) {
2924
const d = Buffer.from(`IPFS is awesome ${Math.random()}`)
3025

@@ -89,7 +84,7 @@ function addNode (fDaemon, inProcNode, callback) {
8984
})
9085
}
9186

92-
skipOnWindows('bitswap', function () {
87+
describe('bitswap', function () {
9388
this.timeout(80 * 1000)
9489

9590
let inProcNode // Node spawned inside this process

0 commit comments

Comments
 (0)