rancher / local-path-provisioner

Dynamically provisioning persistent local storage with Kubernetes
Apache License 2.0
2.07k stars 439 forks source link

Add e2e test for custom path patterns #404

Closed derekbit closed 1 month ago

derekbit commented 1 month ago

CI env is broken. Tested e2e in the local env

--- PASS: TestPVCTestSuite (504.07s)
    --- PASS: TestPVCTestSuite/TestPodWithCustomPathPatternStorageClasses (49.77s)
    --- PASS: TestPVCTestSuite/TestPodWithHostPathVolume (58.83s)
    --- PASS: TestPVCTestSuite/TestPodWithLocalVolume (48.08s)
    --- PASS: TestPVCTestSuite/TestPodWithLocalVolumeDefault (50.08s)
    --- PASS: TestPVCTestSuite/TestPodWithMultipleStorageClasses (52.50s)
    --- PASS: TestPVCTestSuite/TestPodWithNodeAffinity (38.75s)
    --- PASS: TestPVCTestSuite/TestPodWithRWOPVolume (48.08s)
    --- PASS: TestPVCTestSuite/TestPodWithSecurityContext (76.94s)
    --- PASS: TestPVCTestSuite/TestPodWithSubpath (48.25s)
PASS
coverage: 92.3% of statements
ok      github.com/rancher/local-path-provisioner/test  504.070s    coverage: 92.3% of statements