Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-16477 mgmt: return suspect engines for pool healthy query #15458

Merged
merged 8 commits into from
Nov 16, 2024
7 changes: 5 additions & 2 deletions src/tests/ftest/control/dmg_pool_query_ranks.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ def test_pool_query_ranks_mgmt(self):
self._verify_ranks(enabled_ranks, data, "enabled_ranks")
self._verify_ranks(disabled_ranks, data, "disabled_ranks")

self.log_step(f"Waiting for rebuild to start after excluding pool rank {exclude_rank}")
self.pool.wait_for_rebuild_to_start()
daltonbohning marked this conversation as resolved.
Show resolved Hide resolved

# kill second rank.
self.log_step(f"Starting excluding rank:{suspect_rank} all_ranks={all_ranks}")
self.log_step(f"Stopping rank:{suspect_rank} all_ranks={all_ranks}")
self.server_managers[0].stop_ranks([suspect_rank], self.d_log)
wangshilong marked this conversation as resolved.
Show resolved Hide resolved
self.pool.wait_for_rebuild_to_start()

self.log_step(f"Waiting for pool rank {suspect_rank} to be suspected")
self.pool.wait_pool_suspect_ranks([suspect_rank], timeout=30)
Expand Down Expand Up @@ -141,3 +143,4 @@ def _verify_ranks(self, expect, data, key):
else:
self.assertListEqual(
actual, expect, f"Invalid {key} field: want={expect}, got={actual}")
self.log.debug("Check of %s passed: %s == %s", key, expect, actual)
Loading