Skip to content

Conversation

@Bouncheck
Copy link

@Bouncheck Bouncheck commented Feb 23, 2022

Add port collision mitigation to TestUtils class

TestUtils.findAvailablePort() will now repick a port upon choosing
one that has been returned recently.
Similar logic added before to CCMBridge has been removed as now it
is superseded by this solution.
Fixes #99.

TestUtils.findAvailablePort() will now repick a port upon choosing
one that has been returned recently.
Similar logic added before to CCMBridge has been removed as now it
is superseded by this solution.
Fixes scylladb#99.
@Bouncheck Bouncheck force-pushed the scylla-3.x-randomize-ports-testutils-v2 branch from 99eb1a5 to 848a0fe Compare February 28, 2022 11:43
@Bouncheck Bouncheck changed the title Prevent port collisions during testing (draft) Prevent port collisions during testing Feb 28, 2022
@Bouncheck Bouncheck marked this pull request as ready for review February 28, 2022 11:45
@avelanarius avelanarius merged commit 3f1675f into scylladb:scylla-3.x Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Potential duplicate randomized ports in integration tests on branch 3.x

2 participants