-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[OVENOPSTATE] Add OvenOpState 2.6 test case from base #34735
Conversation
Review changes with SemanticDiff. |
PR #34735: Size comparison from d139a42 to b6b8cbc Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #34735: Size comparison from d139a42 to 500c024 Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
# | ||
# === BEGIN CI TEST ARGUMENTS === | ||
# test-runner-runs: run1 | ||
# test-runner-run/run1/app: ${ALL_CLUSTERS_APP} |
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.
Does all cluster actually have oven?
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.
Yes
logging.info('Test will now collect data for 30 seconds') | ||
time.sleep(30) |
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.
In CI, this should be 10 seconds and 2 reports, or something like this, to reduce time.
attr_value = await self.read_expect_success( | ||
endpoint=endpoint, | ||
attribute=attributes.OperationalState) |
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.
Suggest pre-reading this to un-nest the if, so that you have:
if countdownTime is not NullValue and attr_value == cluster.Enums.OperationalStateEnum.kRunning:
in one single if.
PR #34735: Size comparison from d139a42 to 5b61ea0 Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, linux, mbed, nrfconnect, nxp, qpg, stm32, telink, tizen)
|
PR #34735: Size comparison from 26c816a to ba8e1d6 Full report (85 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
ac018f2
to
c53d771
Compare
This PR:
Note: This requires a modification to the base test plan.