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
fix: OADP-2688 Always check restore resource priorities #1139
fix: OADP-2688 Always check restore resource priorities #1139
Conversation
Hi @mateusoliveira43. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
See my other comment for where I think the change here needs to be, but if Args is nil, we need to set it to a non-nil value first before attempting to set a value of one of its components.
/ok-to-test |
/cherry-pick oadp-1.2 |
Checked CI logs, for unit tests, the error seems to be the update adding the restore priority. Expected
Got (but why 2 log level flags?)
For E2E, I did not figured out the problem. Can we update the unit tests? (if yes, where do I update them?) |
@@ -2494,8 +2520,7 @@ func TestDPAReconciler_buildVeleroDeployment(t *testing.T) { | |||
} | |||
} | |||
if !reflect.DeepEqual(tt.wantVeleroDeployment, tt.veleroDeployment) { | |||
fmt.Println(cmp.Diff(tt.wantVeleroDeployment, tt.veleroDeployment)) | |||
t.Errorf("expected velero deployment spec to be \n%#v, got \n%#v", tt.wantVeleroDeployment, tt.veleroDeployment) | |||
t.Errorf("expected velero deployment spec to be \n%#v, got \n%#v\nDIFF:%v", tt.wantVeleroDeployment, tt.veleroDeployment, cmp.Diff(tt.wantVeleroDeployment, tt.veleroDeployment)) |
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.
Changed here because was easier to fix the tests passing the diff after (I was running with make tests
)
7057b27
/hold |
7057b27
to
a2ceac0
Compare
/retest |
@mateusoliveira43 updated the oadp ticket to a cloned jira issue targeted for 1.3.0 |
/unhold |
/lgtm visack |
35b065a
7d48fcf
to
35b065a
Compare
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
35b065a
to
57a7918
Compare
/retest |
1 similar comment
/retest |
@mateusoliveira43: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai, mateusoliveira43, weshayutin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Address Tiger's comment #1132 (comment)