1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

printing metric log for Test_Role_RoleBinding_Sets

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
This commit is contained in:
NoSkillGirl 2021-06-21 23:07:18 +05:30
parent 58fcd76c3a
commit aa574ca242

View file

@ -238,6 +238,8 @@ func Test_Role_RoleBinding_Sets(t *testing.T) {
if err != nil { if err != nil {
return err return err
} }
fmt.Println("##################################################")
fmt.Println("metricsString: ", metricsString)
policySyncBool = commonE2E.ProcessMetrics(metricsString, tests.PolicyName, timeBeforePolicyCreation) policySyncBool = commonE2E.ProcessMetrics(metricsString, tests.PolicyName, timeBeforePolicyCreation)
if policySyncBool == false { if policySyncBool == false {
return errors.New("policy not created") return errors.New("policy not created")