]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: test/cephtool-test-mon.sh uses 7202 7203 and 7204 5268/head
authorLoic Dachary <ldachary@redhat.com>
Thu, 16 Jul 2015 18:32:39 +0000 (20:32 +0200)
committerLoic Dachary <ldachary@redhat.com>
Thu, 16 Jul 2015 18:58:29 +0000 (20:58 +0200)
commitd23cd132a3a7ce6e5bb86c3463ff7fb01142622e
tree1e15d9d4f86b70425638b4bc6e0faace631f6210
parent7aa5e50a7b19cab40755c5262b7136a12a5d6b61
tests: test/cephtool-test-mon.sh uses 7202 7203 and 7204

When running 3 mons, vstart uses ports starting from CEPH_PORT=7202 and
increments to 7203 for the second mon and 7204 for the third. Add a
comment showing the port number. The method for a test to figure out
which port is free is to grep for the port and if nothing matches, use
it. The grep will match 7204 and 7203 and 7202 from the comment and
reduce the chances of someone using 7203 because it was nowhere to be
found in the sources.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/cephtool-test-mon.sh