1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

fix: fix test connection name (#1211)

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
Vladislav 2023-05-13 16:25:36 +03:00 committed by GitHub
parent c999072b15
commit eec09a13c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ async def test_multi_eval(async_client: aioredis.Redis):
async def test_connection_name(async_client: aioredis.Redis):
name = await async_client.execute_command("CLIENT GETNAME")
assert name == "test"
assert name == "default-async-fixture"
await async_client.execute_command("CLIENT SETNAME test_conn_name")
name = await async_client.execute_command("CLIENT GETNAME")
assert name == "test_conn_name"