This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Pick random ports on tests #90
Closed
Description
We ought to gracefully use port zero (like go-ipfs).
1) http api "before all" hook:
Uncaught AssertionError: expected [Error: listen EADDRINUSE 127.0.0.1:9090] to not exist
at tests/test-http-api/index.js:18:27
at src/http-api/index.js:55:18
at node_modules/hapi/lib/server.js:269:20
at done (node_modules/hapi/node_modules/items/lib/index.js:23:21)
at Server.onError (node_modules/hapi/lib/connection.js:163:16)
at emitErrorNT (net.js:1253:8)