kudobuilder / kuttl

KUbernetes Test TooL (kuttl)
https://kuttl.dev
Apache License 2.0
688 stars 85 forks source link

Support collectors on a `command` in a `TestSuite` #190

Open porridge opened 4 years ago

porridge commented 4 years ago

Not sure if I got this right (the docs seem to be a little stale), but it sounds to me like collectors can currently only be specified on a TestAssert which in turn can only be specified on the NN-assert.yaml level.

It would be great if they could also be specified on a command specified in a kuttl-test.yaml.

Otherwise one needs to do ugly things like:

Originally posted by @porridge in https://github.com/kudobuilder/kuttl/issues/174#issuecomment-660968971

kensipe commented 4 years ago

yeah... I meant to re-open the original post after the updated collectors landed... in order to capture this... but capturing the addition details here seems better! thanks for following it up!