[#264] Fixed expected shard mode if errors on shard are accumulated #264

Merged
abereziny merged 1 commit from anurindm/frostfs-testcases:fix-shard-control-test-v039 into support/v0.39 2024-07-01 11:04:24 +00:00

View file

@ -144,5 +144,5 @@ class TestControlShard(ClusterTestBase):
for shard in ShardsWatcher(node).get_shards():
if shard["blobstor"][1]["path"] in object_path:
with reporter.step(f"Shard - {shard['shard_id']} to {node.host_ip}, mode - {shard['mode']}"):
assert shard["mode"] == "degraded-read-only"
assert shard["mode"] == "read-only"
break