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
Actions #1

Updated by bmbouter about 6 years ago

  • Tracker changed from Task to Test
Actions #2

Updated by bmbouter about 6 years ago

  • Related to Task #4114: Rename Remote.connection_limit to Remote.download_concurrency added
Actions #3

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #4

Updated by daviddavis about 4 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Also available in: Atom PDF