Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tempest2 - Hold onto allocated ports to avoid port conflicts in concurrent tests #184

Conversation

mmollaverdi
Copy link
Contributor

Follow-up from #182

@@ -33,7 +33,7 @@ import java.net.ServerSocket
import java.net.Socket

fun allocateRandomPort(): ServerSocket {
val socket = ServerSocket(0) //use { socket -> return socket.localPort }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing an unnecessary comment I had left in previous PR.

@kyeotic kyeotic merged commit 4b6b047 into cashapp:main May 31, 2024
2 checks passed
mmollaverdi added a commit to mmollaverdi/tempest that referenced this pull request Jun 3, 2024
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.

2 participants