We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d06a1f + 5bada90 commit a5ed423Copy full SHA for a5ed423
test/apiv2/test-apiv2
@@ -603,10 +603,12 @@ function stop_registry() {
603
}
604
605
#################
606
-# random_port # Random open port; arg is range (min-max), default 5000-5999
+# random_port # Random open port; arg is range (min-max), default 5001-5999
607
608
function random_port() {
609
- local range=${1:-5000-5999}
+ # Note port 5001 is chosen because 5000 is trusted per test/registries.conf.
610
+ # The tests try to push without SSL and that must fail so we cannot use that port.
611
+ local range=${1:-5001-5999}
612
613
local port
614
for port in $(shuf -i ${range}); do
0 commit comments