Vikas Kumar created RANGER-5280:
-----------------------------------
Summary: TestKMSMetricsWrapper unit test case is failing
Key: RANGER-5280
URL: https://issues.apache.org/jira/browse/RANGER-5280
Project: Ranger
Issue Type: Bug
Components: kms
Reporter: Vikas Kumar
Assignee: Vikas Kumar
After recent KMS UT merges , TestKMSMetricsWrapper has started failing. And it
is not always failing, it's intermittent.
{*}Reason{*}: New test cases now creates more keys and hence metric counter is
increasing.
In TestKMSMetricsWrapper, it is incrementing by one and asserting with one as
expected value.
*Failure scenario:* Other Test cases ( that creates keys) get executed first,
and it will increase the counter to that many number of keys, Say 2.
Now in TestKMSMetricsWrapper, it increments by one and expects one but actual
is 3.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)