-
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
[Fix] Replaced automatable PICS in SEAR tests #35231
base: master
Are you sure you want to change the base?
[Fix] Replaced automatable PICS in SEAR tests #35231
Conversation
- Replaced automatable PICS in SEAR 1.3, 1.5, and 1.6 test modules.
Changed Files
|
- resolved linting issue
PR #35231: Size comparison from 32c961f to 32cd0ad Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #35231: Size comparison from 4d4fcb3 to b830540 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #35231: Size comparison from 3bf596f to b253b36 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
- Replaced C02.Rsp with SkipArea command id check against accepted commands list for SearchArea cluster
PR #35231: Size comparison from 3d69583 to b8903bc Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Does this align with the Test Plan? I think this is a good addition but it needs to be aligned with the Test Plan and given the timing, this might be something we need to postpone to 1.5? |
Updating to leave top level PIC's unchanged
Updating to leave top level PICS alone
PR #35231: Size comparison from 4c69001 to c74e2da Full report (25 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, nrfconnect, qpg, stm32, telink, tizen)
|
PR #35231: Size comparison from a3a443a to ed064c2 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #35231: Size comparison from 1c92162 to 5156b82 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
- Updating to using attribute_guard, command_guard, and feature_guard functions where applicable.
PR #35231: Size comparison from 1c92162 to 283dbb7 Full report (69 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
@@ -94,6 +94,17 @@ async def test_TC_SEAR_1_6(self): | |||
asserts.fail("The --app-pid flag must be set when PICS_SDK_CI_ONLY is set") | |||
self.app_pipe = self.app_pipe + str(app_pid) | |||
|
|||
attributes = Clusters.ServiceArea.Attributes | |||
|
|||
if not await self.attribute_guard(endpoint=self.endpoint, attribute=attributes.SupportedAreas): |
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.
Given that we now have the top-level guards, this should be changed over to use those.
Also, I'm pretty sure the pics_ function in this test is incorrect - it looks like the function on line 83 is suppose to be pics_TC_SEAR_1_6, which is probably why these were added - the pics definition seems wrong.
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 have changed the function name for the pics to be pics_TC_SEAR_1_* based on the test being run so that the pics can be found during testing if they are needed.
- Changing to using correct names for pics function to be found by test runner script.
PR #35231: Size comparison from df5ee33 to c2554b8 Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
Testing