Skip to content

Commit 81849ee

Browse files
committed
use actor name for RQ name
1 parent d6cc2d5 commit 81849ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integration/test_request_queue.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,11 +1028,9 @@ async def test_rq_isolation(
10281028
"""Test that different request queues are properly isolated."""
10291029

10301030
async def main() -> None:
1031-
from crawlee._utils.crypto import crypto_random_object_id
1032-
10331031
async with Actor:
10341032
# Get the unique actor name for creating unique queue names
1035-
actor_name = f'python-sdk-tests-actor-generated-{crypto_random_object_id(8)}'
1033+
actor_name = Actor.configuration.actor_id
10361034

10371035
# Open multiple queues with unique names
10381036
rq1 = await Actor.open_request_queue(name=f'{actor_name}-rq-1')

0 commit comments

Comments
 (0)