Project

Profile

Help

Test #3634

closed

Write functional tests for task delete and cancel code

Added by amacdona@redhat.com almost 6 years ago. Updated almost 5 years ago.

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

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)CLOSED - CURRENTRELEASEActions
Actions #1

Updated by amacdona@redhat.com almost 6 years ago

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

Updated by amacdona@redhat.com over 5 years 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
Actions #3

Updated by kersom about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to kersom
Actions #4

Updated by kersom about 5 years ago

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

Added by kersom about 5 years ago

Revision 7024c1da | View on GitHub

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

Actions #5

Updated by kersom about 5 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #6

Updated by kersom about 5 years ago

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

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF