Project

Profile

Help

Test #4115

closed

Functionally test downloader concurrency restriction

Added by bmbouter about 6 years ago. Updated about 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:
Quarter:

Description

Pulp's plugin API downloaders all have a concurrency restriction feature in them such that if you configure the Remote.downloader_concurrency attribute to 5, you should have only 5 downloads interacting with that remote at any given time.

To verify this I think we should use an aiohttp server that listens for 6 connections and then the test schedules like 20 downloads, and the server asserts that only 5 were in flight at a time.

This would use https://aiohttp.readthedocs.io/en/stable/web.html


Related issues

Related to Pulp - Task #4114: Rename Remote.connection_limit to Remote.download_concurrencyCLOSED - CURRENTRELEASEppicka

Actions

Also available in: Atom PDF