E2E test failing due to conflicting PersistentVolume with previous test when volume type is "local"
kn3609571 opened this issue · comments
All resources are deleted at the same time in E2E test.
This prevents the PersistentVolume from being deleted by teardown process.
"Local" volumes won't create underlying directories automatically, so the second and subsequent tests using "local" volumes will fail.
I think the following actions are needed.
- Separating the PVC and Pod deletion process from the local-path-provisioner deletion process.
- Changing the name of the PVC for each test.
- Implementing tests for teardown process.