forked from TrueCloudLab/frostfs-testcases
[#264] Fixed expected shard mode if errors on shard are accumulated
This commit is contained in:
parent
6c0dfe510d
commit
eb18071bee
1 changed files with 1 additions and 1 deletions
|
@ -144,5 +144,5 @@ class TestControlShard(ClusterTestBase):
|
||||||
for shard in ShardsWatcher(node).get_shards():
|
for shard in ShardsWatcher(node).get_shards():
|
||||||
if shard["blobstor"][1]["path"] in object_path:
|
if shard["blobstor"][1]["path"] in object_path:
|
||||||
with reporter.step(f"Shard - {shard['shard_id']} to {node.host_ip}, mode - {shard['mode']}"):
|
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
|
break
|
||||||
|
|
Loading…
Reference in a new issue