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

CSI volumewatcher testability improvments #7889

Merged
merged 2 commits into from
May 7, 2020

Conversation

tgross
Copy link
Member

@tgross tgross commented May 7, 2020

Two minor changes to volumewatcher that I noticed while working on #7881

  • The constructor for volumeWatcher already sets a logger.With that includes the volume ID and namespace fields. Remove them from the various trace logs.
  • advance state after passing the controller already released state. One way of bypassing client RPCs in testing is to set a claim status to controller-detached, but this results in an incorrect claim state when we checkpoint.

tgross added 2 commits May 7, 2020 15:28
The constructor for `volumeWatcher` already sets a `logger.With` that
includes the volume ID and namespace fields. Remove them from the
various trace logs.
One way of bypassing client RPCs in testing is to set a claim status
to controller-detached, but this results in an incorrect claim state
when we checkpoint.
@tgross tgross requested a review from langmartin May 7, 2020 19:32
@tgross tgross added this to the 0.11.2 milestone May 7, 2020
Copy link
Contributor

@langmartin langmartin left a comment

Choose a reason for hiding this comment

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

👍

@tgross tgross merged commit f5c84fc into master May 7, 2020
@tgross tgross deleted the csi_volumewatcher_testability branch May 7, 2020 19:57
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants