Project

Profile

Help

Test #5046

closed

Test using a proxy for syncing from a File Remote

Added by dkliban@redhat.com almost 5 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Platform Release:
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_file/615":https://github.com/pulp/pulp_file/issues/615


The File Remote accepts a 'proxy_url' parameter[0]. When set, the File Remote uses the proxy for all requests during a sync operation.

This test will require writing a very simple server using aiohttp[1] that will proxy all requests and log them in such a way that pulp-smash can read the log. The test needs to do the following:

1. Start the proxy service on port 12345
2. Create a repository
3. Create a remote with a proxy_url set to 'localhost:12345'
4. Create a repository version by syncing from the Remote.
5. Assert that the proxy service received all the requests from Pulp.
6. Assert the sync was successful.

[0] https://docs.pulpproject.org/en/3.0/nightly/restapi.html#operation/remotes_file_file_create


Related issues

Related to Pulp - Issue #9024: Downloads do not seem to use proxy authentication even when specified CLOSED - CURRENTRELEASEdkliban@redhat.comActions
Actions #1

Updated by dalley over 2 years ago

  • Related to Issue #9024: Downloads do not seem to use proxy authentication even when specified added
Actions #2

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF