Skip to content

Commit 5dd907b

Browse files
committed
test: Fix flaky test_request_queue_collection_iterate
Drop the limit=10 cap so the iterator walks all of the user's queues; under the parallel integration suite, other tests creating queues concurrently could push the just-created ones past the 10-newest window and the inclusion assertion would fail.
1 parent 1fe3274 commit 5dd907b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/test_request_queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ async def test_request_queue_collection_iterate(client: ApifyClient | ApifyClien
615615
created_ids.append(rq.id)
616616

617617
try:
618-
iterator = client.request_queues().iterate(limit=10, desc=True)
618+
iterator = client.request_queues().iterate(desc=True)
619619
collected: list[RequestQueueShort] = []
620620
if is_async:
621621
assert isinstance(iterator, AsyncIterator)

0 commit comments

Comments
 (0)