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

Add e2e tests for the Redis cluster #17

Open
2 of 4 tasks
voltbit opened this issue Oct 16, 2020 · 0 comments
Open
2 of 4 tasks

Add e2e tests for the Redis cluster #17

voltbit opened this issue Oct 16, 2020 · 0 comments
Labels
testing Code coverage and QA

Comments

@voltbit
Copy link
Contributor

voltbit commented Oct 16, 2020

  • All K8s resources are up (operator deployment, pods, configmap, rediscluster, rbac, clusterrole, serviceaccount, services)
  • The operator can handle multiple cycles of creation-destruction of the RedisCluster resource
  • Specific scenario: after deleting the rdc resource all pods will be in Terminating state, check what happens if the rdc object is recreated imediately without waiting for all pods to disappear - this must be handled by the operator (ignore pods that are in Terminating state)
  • Connectivity issue test: we should cut the network of the cluster and see how the operator handles it, it is not expected to fix anything but it must be able to function properly after network is back up and must not apply any unncesseary operations to the Redis cluster
    We will add more advanced testing that account for failure when we have the auto-recovery features implemented, for the moment we should have checks that guarantee that a simple, unperturbed operator run correctly creates the Redis cluster. These checks should later be used as validation in more complex, real-life scenario tests.
@voltbit voltbit self-assigned this Nov 3, 2020
@voltbit voltbit removed their assignment Nov 25, 2020
@voltbit voltbit added this to the Beta milestone Nov 28, 2020
@voltbit voltbit added the testing Code coverage and QA label Jan 17, 2021
@voltbit voltbit removed this from the Beta milestone Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Code coverage and QA
Development

No branches or pull requests

1 participant