Project

Profile

Help

Test #3634

Write functional tests for task delete and cancel code

Added by amacdona@redhat.com over 1 year ago. Updated 6 months ago.

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

Description

Tests should successfully delete tasks in final states, and should not be able to delete tasks in waiting or running states.

Tests should successfully cancel tasks in waiting and running states, but should not be able to cancel tasks in final states.


Related issues

Related to Pulp - Issue #4672: Clarify Tasks REST API Docs (including response codes) NEW Actions

Associated revisions

Revision 7024c1da View on GitHub
Added by kersom 6 months ago

Expand tests related to task system

Add test to cancel tasks, to delete a running task, and to delete a
nonexistent task.

closes: https://github.com/PulpQE/pulp-smash/issues/976
https://pulp.plan.io/issues/3634
#3634

History

#1 Updated by amacdona@redhat.com over 1 year ago

  • Subject changed from Write unit tests for task delete code to Write unit tests for task delete and cancel code

#2 Updated by amacdona@redhat.com 11 months ago

  • Tracker changed from Task to Test
  • Subject changed from Write unit tests for task delete and cancel code to Write functional tests for task delete and cancel code

#3 Updated by kersom 6 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to kersom

#4 Updated by kersom 6 months ago

  • Related to Issue #4672: Clarify Tasks REST API Docs (including response codes) added

#5 Updated by kersom 6 months ago

  • Status changed from ASSIGNED to MODIFIED

#6 Updated by kersom 6 months ago

  • Status changed from MODIFIED to CLOSED - COMPLETE

#7 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF