From 9e4ec1a776c4cceed429463b77e779f6e22d8774 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 7 Jan 2019 12:59:43 -0500 Subject: [PATCH] testinfra/osds double the amount of ports OSDs listen to Since msgr2 changes got merged, the OSDs in master (to be nautilus) will double the amount of ports they listen to. Signed-off-by: Alfredo Deza --- tests/functional/tests/osd/test_osds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/tests/osd/test_osds.py b/tests/functional/tests/osd/test_osds.py index 2e526fd9a..6c340f252 100644 --- a/tests/functional/tests/osd/test_osds.py +++ b/tests/functional/tests/osd/test_osds.py @@ -11,13 +11,13 @@ class TestOSDs(object): def test_osds_listen_on_public_network(self, node, host): # TODO: figure out way to paramaterize this test - nb_port = (node["num_osds"] * 2) + nb_port = (node["num_osds"] * 4) assert host.check_output( "netstat -lntp | grep ceph-osd | grep %s | wc -l" % (node["address"])) == str(nb_port) # noqa E501 def test_osds_listen_on_cluster_network(self, node, host): # TODO: figure out way to paramaterize this test - nb_port = (node["num_osds"] * 2) + nb_port = (node["num_osds"] * 4) assert host.check_output("netstat -lntp | grep ceph-osd | grep %s | wc -l" % # noqa E501 (node["cluster_address"])) == str(nb_port) -- 2.39.5