-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Exit when failing to update a backup's phase #500
Conversation
Tests are currently failing; I'm trying to identify why my added test's reaction function isn't being called |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 minor comment, otherwise LGTM.
@@ -263,6 +263,22 @@ func TestBackupDeletionControllerProcessRequest(t *testing.T) { | |||
assert.EqualError(t, err, "error patching DeleteBackupRequest: bad") | |||
}) | |||
|
|||
t.Run("patching to Deleting fails", func(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"patching backup to Deleting fails"
Signed-off-by: Nolan Brubaker <nolan@heptio.com>
LGTM. |
@nrb does the new unit test fail without the fix? |
It doesn't fail gracefully at the moment, though it fails at the same spot as the bug report.
|
This is what I would expect to see - thanks! |
vmware-tanzu#500 Signed-off-by: danfengl <danfengl@vmware.com>
Fixes #497
Signed-off-by: Nolan Brubaker nolan@heptio.com