Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support listing objects in test harness #441

Merged

Conversation

jbarrick-mesosphere
Copy link
Member

What type of PR is this?
/kind feature

What this PR does / why we need it:

This implements the object listing functionality for the kudo test harness. Currently, using the test harness, it is only possible to write an assert for an object that has a deterministic name. However, many resources have non-deterministic names, but deterministic labels: PlanExecutions, Pods, etc. This PR makes it so that a user can list resources and match their states.

Which issue(s) this PR fixes:

Fixes #374

Special notes for your reviewer:

See the KEP here: #421

Does this PR introduce a user-facing change?:

It is now possible to list and assert on objects in the kudo test harness.

@jbarrick-mesosphere jbarrick-mesosphere merged commit fefb2cb into kudobuilder:master Jun 27, 2019
@jbarrick-mesosphere jbarrick-mesosphere deleted the match-labels branch June 27, 2019 22:00
@jbarrick-mesosphere jbarrick-mesosphere added this to In progress in KUDO via automation Jun 28, 2019
@gerred gerred moved this from In progress to Done in KUDO Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
KUDO
  
Done
Development

Successfully merging this pull request may close these issues.

Support matching objects by label in test harness
2 participants