Project

Profile

Help

Test #4115

Functionally test downloader concurrency restriction

Added by bmbouter 12 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:

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_concurrency MODIFIED Actions

History

#1 Updated by bmbouter 12 months ago

  • Tracker changed from Task to Test

#2 Updated by bmbouter 12 months ago

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

#3 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF