]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: fixing SMB service discovery UT 64518/head
authorRedouane Kachach <rkachach@ibm.com>
Tue, 15 Jul 2025 14:38:26 +0000 (16:38 +0200)
committerAdam King <adking@redhat.com>
Tue, 15 Jul 2025 18:30:18 +0000 (14:30 -0400)
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
src/pybind/mgr/cephadm/tests/test_service_discovery.py

index c839c92238b01e4be4585a5dd326b42f37b6a4dd..9dac31015135f6afc3c76582b119392f64fdd736 100644 (file)
@@ -87,7 +87,7 @@ class FakeSpecDescription:
 class FakeSpecStore():
     def __init__(self, mgr):
         self.mgr = mgr
-        self._specs = {'ingress': FakeSpecDescription('ingress', 9049), 'nfs': FakeSpecDescription('nfs', 9587)}
+        self._specs = {'ingress': FakeSpecDescription('ingress', 9049), 'nfs': FakeSpecDescription('nfs', 9587), 'smb': FakeSpecDescription('smb', 9922)}
 
     def __contains__(self, name):
         return name in self._specs