method

process_based_port

v1_9_3_125 - Show latest stable - Class: Gem::TestCase
process_based_port()
public

Allows tests to use a random (but controlled) port number instead of a hardcoded one. This helps CI tools when running parallels builds on the same builder slave.