-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test printing old value for debugging (#2855)
* Fix test printing old value for debugging ShouldNot(Equal(currentVersion), out) is a method call and as such, it received the value of `out` at the time of the call. That was not the updated value after the `Eventually` timeout had passed but rather the value from the previous call that populated it. This made the test output very confusing because, even though the upgrade Pod was erroring out, the output shows the cluster being only some seconds old and the pod still being created (ouch!) Signed-off-by: Dimitris Karakasilis <[email protected]> * Remove unecessary args and fix one more case of passing old value instead of func Signed-off-by: Dimitris Karakasilis <[email protected]> --------- Signed-off-by: Dimitris Karakasilis <[email protected]>
- Loading branch information
1 parent
815c277
commit 7aa3a71
Showing
3 changed files
with
20 additions
and
11 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