Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

add support for fixed ports in integration tests #8

Open
benfleis opened this issue Oct 27, 2015 · 2 comments
Open

add support for fixed ports in integration tests #8

benfleis opened this issue Oct 27, 2015 · 2 comments

Comments

@benfleis
Copy link
Contributor

When integration tests don't work, it's often very handy to run tcap in a side window to watch protocol. Doing this with random ports is very annoying, thus I have a diff that used to work for fixing ports within the tests themselves.

fixed_ports.txt

Want to come back to this soon, or perhaps @CorgiMan can see easily whether it still works?

@motiejus
Copy link
Contributor

motiejus commented Jul 8, 2016

Initially, I had the same problem, but later realized that I can match on a range of ports:

tcap -i lo0 -p 1024-65535

That works well for me. Would it for you?

cc @CorgiMan , what are your thoughts?

@CorgiMan
Copy link
Contributor

CorgiMan commented Jul 8, 2016

I never encountered this problem but I like that tcap. If you get a lot of noise we can limit the range that ringpop chooses its random port from so that you can run tcap -i lo0 -p 5000-6000.

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

No branches or pull requests

3 participants