Skip to content

Commit 17bf084

Browse files
committed
just isolate on process level
1 parent f4dd6c7 commit 17bf084

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integrations/asyncpg/test_asyncpg.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"""
1111

1212
import os
13-
import threading
1413
import datetime
1514
from contextlib import contextmanager
1615
from unittest import mock
@@ -35,8 +34,7 @@
3534

3635
def _get_db_name():
3736
pid = os.getpid()
38-
thread_id = threading.get_ident()
39-
return f"{PG_NAME_BASE}_{pid}_{thread_id}"
37+
return f"{PG_NAME_BASE}_{pid}"
4038

4139

4240
PG_NAME = _get_db_name()

0 commit comments

Comments
 (0)