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

Add a Watch method to the RetryClient #624

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

jbarrick-mesosphere
Copy link
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

This adds a basic Watch method to the RetryClient which allows a user to Watch all events on a specific resource for use in integration tests.

This is needed to allow @fabianbaier to write a test for the step delete behavior in #599. Eventually, this will be used to implement #600 when we replace the test harness's polling with watching events.

Special notes for your reviewer:

This is probably not the most efficient way to implement the watches... I figured we would start here and optimize the internals of the method as necessary, but if anyone knows how to make it better we could do that here too.

Does this PR introduce a user-facing change?:

NONE

Copy link
Member

@kensipe kensipe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jbarrick-mesosphere jbarrick-mesosphere merged commit 6e9d71c into kudobuilder:master Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants