From 5391938c4cc73e9d06eebabfee004dd6659d9fb0 Mon Sep 17 00:00:00 2001 From: Yury Frolov Date: Thu, 24 Oct 2024 11:52:21 +0500 Subject: [PATCH] Fix feature tests --- test/feature/features/coordinator.feature | 17 ++++++----------- test/feature/features/coordinator_show.feature | 17 ++++++----------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/test/feature/features/coordinator.feature b/test/feature/features/coordinator.feature index 9a08faf8e..0c75c79ec 100644 --- a/test/feature/features/coordinator.feature +++ b/test/feature/features/coordinator.feature @@ -652,22 +652,17 @@ Feature: Coordinator test "tasks": [ { - "shard_from_id": "sh_from", - "shard_to_id": "sh_to", - "kr_id_from": "kr_from", - "kr_id_to": "kr_to", - "bound": "MQ==", + "bound": ["MQ=="], "state": 1 }, { - "shard_from_id": "sh_from", - "shard_to_id": "sh_to", - "kr_id_from": "kr_from", - "kr_id_to": "kr_to", - "bound": "MTA=", + "bound": ["MTA="], "state": 0 } - ] + ], + "shard_to_id": "sh_to", + "kr_id_from": "kr_from", + "kr_id_to": "kr_to" } """ Then command return code should be "0" diff --git a/test/feature/features/coordinator_show.feature b/test/feature/features/coordinator_show.feature index df3285fb8..01bb07275 100644 --- a/test/feature/features/coordinator_show.feature +++ b/test/feature/features/coordinator_show.feature @@ -543,22 +543,17 @@ Feature: Coordinator show clients, pools and backend_connections "tasks": [ { - "shard_from_id": "sh_from", - "shard_to_id": "sh_to", - "kr_id_from": "kr_from", - "kr_id_to": "kr_to", - "bound": "MQ==", + "bound": ["MQ=="], "state": 1 }, { - "shard_from_id": "sh_from", - "shard_to_id": "sh_to", - "kr_id_from": "kr_from", - "kr_id_to": "kr_to", - "bound": "MTA=", + "bound": ["MTA="], "state": 0 } - ] + ], + "shard_to_id": "sh_to", + "kr_id_from": "kr_from", + "kr_id_to": "kr_to" } """ Then command return code should be "0"