From b949ca2ba33b0ad251e207073d13d9fec1d3f067 Mon Sep 17 00:00:00 2001 From: Dmitry Anurin Date: Fri, 5 Jul 2024 18:24:03 +0300 Subject: [PATCH] [#267] 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 0b2e4fb..3b96a5e 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