Instead of using addresses in the format of "127.0.0." + i it now instead uses a first address of 127.0.0.1 with variable ports in the form of 50000 + i. This way straight out of the repo you can run the tests, and to some degree achieves the same level of functional testing.
Also added a small additional bit of debug logging in GossipService as well as some INFO logging in the test - as I figure it's a test that should be suitable.
(Also chose port 50,000 as the base, as that's the generally advised area for non-standard ports.)
Instead of using addresses in the format of
"127.0.0." + i
it now instead uses a first address of 127.0.0.1 with variable ports in the form of50000 + i
. This way straight out of the repo you can run the tests, and to some degree achieves the same level of functional testing.Also added a small additional bit of debug logging in
GossipService
as well as someINFO
logging in the test - as I figure it's a test that should be suitable.(Also chose port 50,000 as the base, as that's the generally advised area for non-standard ports.)