Project

Profile

Help

Test #6431

Test task child/parent tracking

Added by dalley 7 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Version:
Platform Release:
Tags:
Sprint:
Quarter:

Description

Task parentage functionality was added without tests, because it is difficult to test via the standard means. Task parent/child relationships can only be set up through the plugin API, so the only way to test this would be:

  • manually set them up in the database
  • in the "using plugin" section of the functional tests, run tests against a plugin that uses task groups
  • bmbouter suggests:

One idea I had for the automated tests is that we should have some way for them to load additional viewsets and tasks in the RQ registry if there is a PULP_TEST env var set or something. Something that keeps them unloaded on production systems and the tests automatically skip if they aren't loaded. Just an idea I had.

We need to test that task parent/child relationships show up appropriately in the serializer.

Since task parentage is only exposed through the


Related issues

Related to Pulp - Story #6282: As a user, I can see parent/child relationships when a task dispathes one or more other tasksCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dalley 7 months ago

  • Related to Story #6282: As a user, I can see parent/child relationships when a task dispathes one or more other tasks added

Please register to edit this issue

Also available in: Atom PDF