]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: Fixed test_scheduling.py 68438/head
authorShweta Bhosale <Shweta.Bhosale1@ibm.com>
Fri, 17 Apr 2026 09:30:20 +0000 (15:00 +0530)
committerShweta Bhosale <Shweta.Bhosale1@ibm.com>
Fri, 17 Apr 2026 09:31:02 +0000 (15:01 +0530)
Fixes: https://tracker.ceph.com/issues/76079
Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
src/pybind/mgr/cephadm/tests/test_scheduling.py

index e421c6838a1bee9b121a82ae3a8fd7dc0081f6b5..7712dbb0a590c98ea6ceff347bbb201258d88b96 100644 (file)
@@ -1916,7 +1916,7 @@ def test_blocking_daemon_host(
             ],
             [],
             None,
-            ['nfs:host1'],
+            ['nfs:host1(*:2049,9587)'],
             [],
             ['nfs.nfs2']  # to_remove
         ),
@@ -1960,7 +1960,7 @@ def test_blocking_daemon_host(
                 DaemonDescription('keepalived', 'ingress4', 'host4'),
             ],
             None,
-            ['nfs:host3', 'nfs:host4'],
+            ['nfs:host3(*:2049,9587)', 'nfs:host4(*:2049,9587)'],
             [],
             ['nfs.nfs1', 'nfs.nfs2']  # to_remove
         ),
@@ -1980,7 +1980,7 @@ def test_blocking_daemon_host(
                 DaemonDescription('keepalived', 'ingress3', 'host3'),
             ],
             {0: {1: '0.1', 2: '0.2'}, 1: {1: '1.1'}},
-            ['nfs:host1(rank=0.2)', 'nfs:host3(rank=1.1)'],
+            ['nfs:host1(rank=0.2 *:2049,9587)', 'nfs:host3(rank=1.1 *:2049,9587)'],
             [],
             ['nfs.0.1']
         ),