Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Test config should use different ports #26

Closed
jbenet opened this issue Jun 6, 2015 · 3 comments · Fixed by #30
Closed

Test config should use different ports #26

jbenet opened this issue Jun 6, 2015 · 3 comments · Fixed by #30

Comments

@jbenet
Copy link
Contributor

jbenet commented Jun 6, 2015

would be nice if test config randomized ports or used different ports than default cause i cant run tests when my node is running

@travisperson
Copy link
Contributor

I believe it does, have you ran into issues?

The testconfig.json file is not used right now, the tests start a disposable node which will picks a random port for the API to listen on.

@travisperson
Copy link
Contributor

See: https://github.com/ipfs/node-ipfsd-ctl/blob/master/index.js#L189

I guess we need to also have it pick a different swarm port as well.

@krl krl mentioned this issue Jul 14, 2015
@krl
Copy link
Contributor

krl commented Jul 14, 2015

@jbenet this should be fixed with #30, using tcp/0 for swarm as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants