From eb18071bee5c6934993fe1f58a8eadf177e7a16b Mon Sep 17 00:00:00 2001 From: Dmitry Anurin Date: Mon, 1 Jul 2024 14:02:42 +0300 Subject: [PATCH] [#264] Fixed expected shard mode if errors on shard are accumulated --- pytest_tests/testsuites/shard/test_control_shard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/testsuites/shard/test_control_shard.py b/pytest_tests/testsuites/shard/test_control_shard.py index 0b2e4fb1..3b96a5e4 100644 --- a/pytest_tests/testsuites/shard/test_control_shard.py +++ b/pytest_tests/testsuites/shard/test_control_shard.py @@ -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