Skip to content

Commit

Permalink
Fix feature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EinKrebs committed Oct 24, 2024
1 parent c522458 commit 5391938
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
17 changes: 6 additions & 11 deletions test/feature/features/coordinator.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
17 changes: 6 additions & 11 deletions test/feature/features/coordinator_show.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5391938

Please sign in to comment.