chore: relax the version check in test_replicate_old_master

For commits marked with a git tag, the previous check did not hold.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-08-08 21:31:13 +03:00
parent 25fc8bce2a
commit 1e7ca5ac85
No known key found for this signature in database
GPG key ID: 6568CCAB9736B618

View file

@ -2289,7 +2289,7 @@ async def test_replicate_old_master(
f"df-{dfly_version}"
== (await c_master.execute_command("info", "server"))["dragonfly_version"]
)
assert "df-dev" == (await c_replica.execute_command("info", "server"))["dragonfly_version"]
assert dfly_version != (await c_replica.execute_command("info", "server"))["dragonfly_version"]
await c_master.execute_command("set", "k1", "v1")