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

[release-1.9] Add function to check if a broker resource is NotReady #6738

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test/rekt/resources/broker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ func IsReady(name string, timing ...time.Duration) feature.StepFn {
return k8s.IsReady(GVR(), name, timing...)
}

// IsNotReady tests to see if a Broker becomes NotReady within the time given.
func IsNotReady(name string, timing ...time.Duration) feature.StepFn {
return k8s.IsNotReady(GVR(), name, timing...)
}

// IsAddressable tests to see if a Broker becomes addressable within the time
// given.
func IsAddressable(name string, timings ...time.Duration) feature.StepFn {
Expand Down