-
Epic
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
Chainsaw for unit testing operators
-
False
-
-
False
-
Not Selected
-
Committed
-
Committed
-
To Do
-
Committed
-
rhos-ops-platform-services-pidone
-
Committed
-
0% To Do, 0% In Progress, 100% Done
-
-
Goal:
We currently use KUTTL in opentsack-k8s-operators as part of the test suite of each operator. However KUTTL syntax and features are somewhat limiting for operators that implement a complex logic to operate their service (typically, clustered services like galera, redis...).
Chainsaw is an alternative testing framework that "offers more flexibility, a rich assertion model, and is actively maintained.", as described in the Operator SDK manual.
This Epic tracks work needed to migrate existing KUTTL tests to Chainsaw.
Acceptance Criteria:
Chainsaw tests should be consumable in CI jobs.
For operators that use Chainsaw tests, CI jobs should gate PRs based on the execution of Chainsaw tests instead of KUTTL.