feat: manage ready condition in NSTemplatetier#1149
feat: manage ready condition in NSTemplatetier#1149mfrancisc merged 38 commits intocodeready-toolchain:masterfrom
Conversation
fbm3307
left a comment
There was a problem hiding this comment.
Great work , just some minor suggestions/questions.
fbm3307
left a comment
There was a problem hiding this comment.
Looks Good,
just good to have , for code readability
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fbm3307, MatousJobanek, metlos, mfrancisc The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
it looks like we might have a flaky unit test also: will take a look at it as well. |
|
@mfrancisc , its because it checks the sequence too... Probably using |
|
Not sure I'm following. TBH to me it seems that the bucket nr 13 had 12 as value. So basically it expected 13 but it got 12. Which seems like a timing issue when using the prometheus client. To me the only way to make the tests 100% reproducible would be to create a mock/stub instead of using the prometheus library. Thus the test would only assert that expected function were called with expected values. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1149 +/- ##
==========================================
- Coverage 79.71% 79.67% -0.05%
==========================================
Files 82 82
Lines 8203 8245 +42
==========================================
+ Hits 6539 6569 +30
- Misses 1471 1480 +9
- Partials 193 196 +3
|



This PR adds/updates the Ready condition in the NSTemplateTier.
depends on: codeready-toolchain/api#465
jira: https://issues.redhat.com/browse/KUBESAW-251