-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- use "require.Nil" instead of "assert.Equal" for test setup and where we don't wish to retry. The latter notes a failure but doesn't fail immediately. This resulted in panics in subsequent sections of the broker defaults webhook test [#4717] and made it hard to pin point the reason. "require.Nil" will output the error and fail immediately making it easier to debug issues with test setup. Signed-off-by: Sameer Vohra <vsameer@vmware.com>
- Loading branch information
1 parent
88f397f
commit 81ce898
Showing
1 changed file
with
10 additions
and
9 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