-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/kubernetes/testcluster
: Fix WaitForDaemonset
timeout case.
Prior to this change, `WaitForDaemonset` would erroneously return a `nil` error when the context expired. Also make error messages in `WaitForDaemonset` more helpful. This includes bailing out of the watch-based loop slightly before the context expiry, and fall back to the poll-based loop which provides a more helpful error message. PiperOrigin-RevId: 700805708
- Loading branch information
1 parent
00dcbab
commit e27d27a
Showing
3 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters