-
Notifications
You must be signed in to change notification settings - Fork 807
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 end to end test cases #118
Comments
/cc @gyuho @bertinatto |
Ack. We should have this ready by next quarter. |
👍 @gyuho, @leakingtapan: just to make sure, perhaps are you working on this already? |
I have some ideas and will implement one test case and send PR to see how it looks like. After that we can break this down into sub tasks one per test case. /assign |
To clarify a bit, the scope of this issue is to write e2e test cases so that we can at least run test against our personal cluster endpoint quickly. This will be an big improvement over manual testing. And the work to set k8s cluster and the EBS CSI driver will be tracked separately by @gyuho and after that is done we will get full e2e test automation and integration with Prow. |
Added first e2e test case: #139 |
I updated the issue description and break down the test cases |
This is the top level issue about implementing e2e test for the driver. The tests will exercise the driver functionalities along with kubernetes being the CO. The functionalities includes:
Happy Scenarios:
It("should allow for a pod writing and reading data, expanding the PersistentVolume and writing and reading data") (depends volume resizing)(will do this when feature is being implemented)Failure Scenarios:
It("should reattach a volume after a pod is rescheduled from a drained node and data can be read")(punt to Add e2e test for failure scenarios #189)The test will be a go test using ginkgo as behavioral driven testing. It should assume that a cluster is already pre-created and the EBS CSI driver is already deployed for the test to run.
In Scope
For each test case, the test should create a storageclass, create a pvc/pvc and verifies that certain conditions is met given the test scenario.
Out of scope
The following will be tracked separately and implemented as part of the general testing framework for testing k8s on AWS:
The text was updated successfully, but these errors were encountered: