-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add status count in hardware tested #417
Conversation
75e10f3
to
bbf2149
Compare
@@ -242,7 +242,7 @@ def __processBootsTest(self, currentRowData): | |||
self.bootFailReasons[testError] = self.bootFailReasons.get(testError, 0) + 1 | |||
|
|||
if testEnvironmentCompatible is not None: | |||
self.bootEnvironmentCompatible[testEnvironmentCompatible] += 1 | |||
self.bootEnvironmentCompatible[testEnvironmentCompatible][testStatus] += 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some test status are coming as null nowadays, I whink we should acknowledge for them and count them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this logic, calling null testStatus as none
or NONE
to avoid errors with null
JavaScript
bbf2149
to
1c19cdd
Compare
@@ -242,7 +242,10 @@ def __processBootsTest(self, currentRowData): | |||
self.bootFailReasons[testError] = self.bootFailReasons.get(testError, 0) + 1 | |||
|
|||
if testEnvironmentCompatible is not None: | |||
self.bootEnvironmentCompatible[testEnvironmentCompatible] += 1 | |||
if testStatus is None: | |||
self.bootEnvironmentCompatible[testEnvironmentCompatible]["NONE"] += 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pass={PASS} | ||
skip={SKIP} | ||
none={NONE} | ||
forceNumber={false} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're passing "forceNumber" here but the GroupedTestStatus component doesn't use it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, pre-approving it, please fix before merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just fix the comments
1c19cdd
to
eed5777
Compare
eed5777
to
48badb9
Compare
Add status count in hardware tested

Before just show the amount of occorencies
