Project

General

Profile

Actions

Feature #6517

closed

Dynflow tests dont execute sub plans

Added by Partha Aji over 10 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Dynflow Action tests in general don't let us execute sub plans. Take the example of product delete, whose destroy plan does something like

1) Delete each repo of the product, using the repo delete orchestration
2) Delete candlepin artifacts.
3) Destroy the AR/elastic presence of the product

Now suppose I wanted to test the following scenario. "I want product delete to fail if one of the repo deletions fail due to some validation error". There is no way for me to test that. Because the action unit tests will not execute the repo delete orchestration.

Actions

Also available in: Atom PDF