k8ssandra / k8ssandra-operator

The Kubernetes operator for K8ssandra
https://k8ssandra.io/
Apache License 2.0
159 stars 74 forks source link

K8SSAND-1174 ⁃ Refactor kuttl tests for performance #302

Open sync-by-unito[bot] opened 2 years ago

sync-by-unito[bot] commented 2 years ago

There are a few optimisations that would make the kuttl tests run faster.

  1. Rationalise the number of nodes for each test (e.g. some can be performed with only 1 node).
  2. Investigate running tests in parallel in multiple namespaces (this depends on PR 286 being merged).
  3. Investigate running multiple checks in the same test - e.g. if we are testing whether stargate successfully deploys we could use the initial state created by the basic test-config-control-plane test. This will improve performance since we can build on an existing cluster rather than waiting 10 minutes for a whole new one to be instantiated.

┆Issue is synchronized with this Jira Story by Unito

bradfordcp commented 2 years ago

Please add your planning poker estimate with ZenHub @Miles-Garnsey

sync-by-unito[bot] commented 2 years ago

➤ Miles Garnsey commented:

Christopher Bradford this is a 2 day task IMO. I just haven’t prioritised it but it isn’t that complex.

bradfordcp commented 2 years ago

Hey team! Please add your planning poker estimate with ZenHub @jeffbanks @jsanda