From 34e0581ea457baf37cb59dcf5f8cd101670447c5 Mon Sep 17 00:00:00 2001 From: Andrei Neagu Date: Thu, 20 Jun 2024 16:25:21 +0200 Subject: [PATCH] fixed test --- packages/service-library/src/servicelib/rabbitmq/_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/service-library/src/servicelib/rabbitmq/_utils.py b/packages/service-library/src/servicelib/rabbitmq/_utils.py index 4da4905392b..bab135eb146 100644 --- a/packages/service-library/src/servicelib/rabbitmq/_utils.py +++ b/packages/service-library/src/servicelib/rabbitmq/_utils.py @@ -1,5 +1,4 @@ import logging -import os import socket from typing import Any, Final @@ -52,7 +51,7 @@ async def wait_till_rabbitmq_responsive(url: str) -> bool: def get_rabbitmq_client_unique_name(base_name: str) -> str: - return f"{base_name}_{socket.gethostname()}_{os.getpid()}" + return f"{base_name}_{socket.gethostname()}" async def declare_queue(