Project

Profile

Help

Test #4118

closed

Test Downloader backoff on http error codes, e.g. 503

Added by bmbouter over 5 years ago. Updated over 3 years ago.

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

Description

When a server responds with a HTTP 503, Pulp downloaders are expected to backoff. For example consider a concurrency of 5, when downloading 20 things, the 5th download returns a HTTP 503 response.

Assuming the first 4 downloads don't complete during the backoff period, there will be a backoff period of a few seconds before any additional requests comes in because there can only be 5 and the 5th is in backoff

I recommend testing this using an aiohttp server implementation that serves with a concurrency of 6, returns a 503 on the 5th call, and asserts that a backoff delay is experienced.

Actions #1

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)
Actions #2

Updated by daviddavis over 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Also available in: Atom PDF