refactor: set info_replication_valkey_compatible=true (#3467)

* refactor: set info_replication_valkey_compatible=true
* test: mark test_cluster_replication_migration as skipped because it's broken
This commit is contained in:
Borys 2024-08-08 21:42:58 +03:00 committed by GitHub
parent 5258bbacd1
commit 48a28c3ea3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 18 additions and 16 deletions

View file

@ -234,7 +234,7 @@ def attach(args):
if args.attach_as_replica:
newcomer = Node(args.attach_host, args.attach_port)
replica_resp = send_command(newcomer, ["info", "replication"])
if replica_resp["role"] != "replica":
if replica_resp["role"] != "slave":
die_with_err("Node is not in replica mode")
if (
replica_resp["master_host"] != args.target_host