Skip to content

Refactor getTaskRunCreations to be explicit on getting TaskRuns #6143

@JeromeJu

Description

@JeromeJu

The usage of getTaskRunCreations in the pipelineRun reconciler test suite verifies implementation details (API calls) rather than the outputs we care about (TaskRuns themselves), making the tests harder to understand. This should be refactored to not rely on this.

Originally posted by @lbernick in #6135 (comment)

/kind cleanup

Metadata

Metadata

Assignees

Labels

kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions