Skip to content
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

Merged
merged 2 commits into from
Jul 14, 2023

Conversation

PhanLe1010
Copy link
Contributor

@PhanLe1010
Copy link
Contributor Author

@mergify backport v1.5.x

@mergify
Copy link

mergify bot commented Jul 7, 2023

backport v1.5.x

✅ Backports have been created

james-munson
james-munson previously approved these changes Jul 7, 2023
Copy link
Contributor

@james-munson james-munson left a 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.

Copy link
Contributor

@ejweber ejweber left a 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.

controller/volume_controller_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@shuo-wu shuo-wu left a 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:

  1. Generation related tests
  2. Attachment/detachment cases caused by higher priority tickets suddenly introducing.

@PhanLe1010
Copy link
Contributor Author

I think it's better to add 2 more kinds of tests for the VA controller:

  1. Generation related tests
  2. Attachment/detachment cases caused by higher priority tickets suddenly introducing.

Thank you. Added

@PhanLe1010 PhanLe1010 requested a review from shuo-wu July 13, 2023 01:39
Copy link
Contributor

@ejweber ejweber left a 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.

shuo-wu
shuo-wu previously approved these changes Jul 14, 2023
Copy link
Contributor

@shuo-wu shuo-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general LGTM

ejweber
ejweber previously approved these changes Jul 14, 2023
Longhorn-6005

Signed-off-by: Phan Le <phan.le@suse.com>
Longhorn-6005

Signed-off-by: Phan Le <phan.le@suse.com>
Copy link
Contributor

@ejweber ejweber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants