From 4295cb6a22e473058d86ec465307fb67018fbb36 Mon Sep 17 00:00:00 2001 From: Dmitry Anurin Date: Mon, 1 Jul 2024 12:08:33 +0300 Subject: [PATCH] [#257] 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