operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

Add testing for the sample memcached-operator metric

Open assafad opened this issue 2 years ago • 1 comments

Signed-off-by: assafad [email protected]

Description of the change: This PR adds a test for the sample memcached-operator. The test validates that the new operator metric memcached_deployment_size_undesired_count_total exists and works as expected.

Motivation for the change: We would like to implement observability concepts for the memcahced-operator, in order to have the operator in Deep Insights capability level. Then, we may use it as a reference in an observability best-practices tutorial in Operator-SDK documentation.

Checklist

If the pull request includes user-facing changes, extra documentation is required:

assafad avatar Sep 07 '22 11:09 assafad

/hold

assafad avatar Sep 07 '22 11:09 assafad

/unhold

assafad avatar Oct 18 '22 12:10 assafad

Hi @everettraven, could we please move ahead with this PR? It was on hold waiting for Ginkgo v2, and was approved by @camilamacedo86.

assafad avatar Oct 18 '22 12:10 assafad

/retest

assafad avatar Oct 18 '22 15:10 assafad

@assafad: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Oct 18 '22 15:10 openshift-ci[bot]

/retest

assafad avatar Oct 18 '22 17:10 assafad

@assafad: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Oct 18 '22 17:10 openshift-ci[bot]

/retest

assafad avatar Oct 18 '22 17:10 assafad

@assafad: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-ci[bot] avatar Oct 18 '22 17:10 openshift-ci[bot]

@everettraven Thank you for reviewing this PR. Anything else we miss in order to get it merged?

assafad avatar Oct 18 '22 18:10 assafad