-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add e2e tests for external health monitor controller #34
Comments
Anyone who is interested in this ? |
Hi! I would be interested in working on this issue. |
/assign @irbekrm |
Thanks @irbekrm |
I was also wondering what driver should be used for the e2e tests. |
We can use the CSI hostpath driver for e2e tests. @fengzixu is working on the following issue to add health monitoring support in the CSI hostpath driver. So these e2e tests tasks are actually depending on this one. For GCE PD driver, I think we'll have to wait until it has the health monitoring support. |
Hi @irbekrm,
|
Hi @xing-yang , Thank you! I will take a look at the examples for the mock driver and start working on this. I might get back with some questions about the approach. |
Actually, I am having some doubts about the e2e tests for this with the CSI Mock Driver and the javascript hooks. The external health monitor creates a I was also looking at using the hooks to return early from one of the CSI Mock Driver methods that actually create the volume, so that the condition 'becomes' abnormal in the driver itself. But because the hooks can only cause the driver method to return with a non-OK gRPC code, I think this is also not possible because the volume creation would just fail. So, I am not sure if the creation of Same with this #35 |
I see. Let's wait for the CSI hostpath driver implementation then. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@irbekrm Hi. Long time no see. How are you? Actually, I want to tell you the `CSI hostpath driver implementation is already finished. I think you can start to work on e2e test issue from now. |
Hi! Thanks for letting me know- I will take a look this weekend 😄 |
/remove-lifecycle stale |
@irbekrm Not sure if you have started working on this. Actually right now there's no good way of writing an e2e test for this feature. This is because that we are only reporting events to PVCs. Events can disappear so it is not reliable to write an e2e test to verify if an event is recorded. |
Hi, thank you for letting me know- actually I had not started working on this properly. I think I will then better unassign myself- perhaps someone else can take a look or maybe there will be a better way to test this sometime in the future! /unassign |
Closing this as we are not adding e2e tests for now. |
No description provided.
The text was updated successfully, but these errors were encountered: