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 0ad4dbe + 90bc354 commit ad880f6Copy full SHA for ad880f6
src/pybind/mgr/test_orchestrator/module.py
@@ -304,3 +304,11 @@ def apply_mon(self, spec):
304
assert all([isinstance(h[0], str) for h in spec.placement.hosts])
305
assert all([isinstance(h[1], str) or h[1] is None for h in spec.placement.hosts])
306
return spec.one_line_str()
307
+
308
+ @handle_orch_error
309
+ def apply_mds(self, spec):
310
+ #type: (ServiceSpec) -> str
311
312
+ assert not spec.placement.hosts or len(spec.placement.hosts) == spec.placement.count
313
+ assert all([isinstance(h, str) for h in spec.placement.hosts])
314
+ return spec.one_line_str()
0 commit comments