Project

Profile

Help

Test #4220

closed

Test update download policy with invalid field

Added by kersom over 5 years ago. Updated almost 5 years ago.

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

Description

Download policy field was introduced with lazy sync.

1 - Create a remote without provided a download policy.
2 - Assert that download policy defaults to `immediate`.
3 - Update the download policy to a valid one other than `immediate`.
4 - Assert that download policy was update properly.
5 - Attempt to update the download policy to a non valid download policy.
6 - Assert that the download policy is equal to the one updated on step 4.


Related issues

Related to Pulp - Task #3763: Add "policy" attribute to RemoteCLOSED - CURRENTRELEASEbmbouter

Actions
Actions #1

Updated by kersom over 5 years ago

  • Related to Task #3763: Add "policy" attribute to Remote added
Actions #2

Updated by bherring over 5 years ago

  • Assignee set to bherring
Actions #3

Updated by bherring over 5 years ago

  • Status changed from NEW to ASSIGNED
Actions #4

Updated by kersom over 5 years ago

  • Description updated (diff)
Actions #5

Updated by bherring over 5 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #6

Updated by bherring over 5 years ago

Broke the original assignment into 3 parts:

  1. Create a remote with no policy
  2. Following, updating to any policy to ensure that functions
  3. Attempting to add an invalid policy and ensure that doesn't work and retains the previous step setting.

Functioned on Pulp3. The `DOWNLOAD_POLICIES` were changed during the creation and will need to ensure these work on the latest build.

Actions #7

Updated by bherring over 5 years ago

  • Status changed from MODIFIED to ASSIGNED

Added by bherring over 5 years ago

Revision f9657e87 | View on GitHub

Adding download policy testing permutations.

Cases for no policy, change in policy and invalid policy.

closes #4220 https://pulp.plan.io/issues/4220

Actions #8

Updated by bherring over 5 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #9

Updated by bherring over 5 years ago

  • Status changed from MODIFIED to CLOSED - COMPLETE
Actions #10

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF