-
Notifications
You must be signed in to change notification settings - Fork 145
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
Implement/fix the unit tests of Volume Attachment and volume controller #2053
Conversation
@mergify backport v1.5.x |
✅ Backports have been created
|
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.
Looks reasonable to me.
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.
One potential blocker, but a quick fix if one is needed.
I have some questions about changes in volume_controller_test.go, but they are more for my understanding than anything. I will sync up with you offline.
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.
I think it's better to add 2 more kinds of tests for the VA controller:
Generation
related tests- Attachment/detachment cases caused by higher priority tickets suddenly introducing.
3611f78
to
8422225
Compare
Thank you. Added |
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.
The changes I asked for were made. Curious on a couple of Shuo's questions.
e3a585c
to
f1eb6a4
Compare
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.
In general LGTM
Longhorn-6005 Signed-off-by: Phan Le <phan.le@suse.com>
Longhorn-6005 Signed-off-by: Phan Le <phan.le@suse.com>
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.
LGTM
longhorn/longhorn#6005