Project

Profile

Help

Test #4220

Test update download policy with invalid field

Added by kersom 11 months ago. Updated 6 months ago.

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

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

Associated revisions

Revision f9657e87 View on GitHub
Added by bherring 10 months ago

Adding download policy testing permutations.

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

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

History

#1 Updated by kersom 11 months ago

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

#2 Updated by bherring 11 months ago

  • Assignee set to bherring

#3 Updated by bherring 11 months ago

  • Status changed from NEW to ASSIGNED

#4 Updated by kersom 11 months ago

  • Description updated (diff)

#5 Updated by bherring 10 months ago

  • Status changed from ASSIGNED to MODIFIED

#6 Updated by bherring 10 months 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.

#7 Updated by bherring 10 months ago

  • Status changed from MODIFIED to ASSIGNED

#8 Updated by bherring 10 months ago

  • Status changed from ASSIGNED to MODIFIED

#9 Updated by bherring 10 months ago

  • Status changed from MODIFIED to CLOSED - COMPLETE

#10 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF