You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the time being, the integration tests should use randomized ports for Logging and Commands. This will allow mutilple jobs to coexist without deadlocking each other.
In the future we will contain these jobs on the Jenkins server in individual docker containers, etc
uh anything in the unprivileged port range (I think anything above 1024 IIRC) is fine. Probably best to restrict the range to something like 20,000 to 30,000 and check the random port before starting the test.
All this logic of port selection can be done in ControllerTest.py
Activity
EdHurtig commentedon Nov 12, 2017
Related to #62
shorstman commentedon Nov 12, 2017
Is there a range of valid ports/any ports that shouldn't be tested?
EdHurtig commentedon Nov 13, 2017
uh anything in the unprivileged port range (I think anything above 1024 IIRC) is fine. Probably best to restrict the range to something like
20,000 to 30,000and check the random port before starting the test.All this logic of port selection can be done in
ControllerTest.pyEdHurtig commentedon Nov 13, 2017
Alternatively... could use this plugin
https://wiki.jenkins.io/display/JENKINS/Port+Allocator+Plugin