Skip to content
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

GH-22: Fix zwave_command_class_node_info_resolver unit test #3

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

silabs-borisl
Copy link

@silabs-borisl silabs-borisl commented Jan 18, 2024

SiliconLabsGH-22 add a new callback on the give_up_listener on the ATTRIBUTE_ZWAVE_SECURE_NIF attribute causing the test case to fail.

The test only expect this listener to be called on the non-secure NIF ATTRIBUTE_ZWAVE_NIF. This change make sure that the code is only executed in the context of ATTRIBUTE_ZWAVE_NIF and ignored for ATTRIBUTE_ZWAVE_SECURE_NIF as this test don't care about it.

Bug-SiliconLabs: UIC-3082
Relate-to: SiliconLabs#22
Forwarded-SiliconLabs: task/UIC-3082/phcoval/SiliconLabsGH-22/develop

Change

Checklist

SiliconLabsGH-22 add a new callback on the give_up_listener on the ATTRIBUTE_ZWAVE_SECURE_NIF attribute causing the test case to fail.

The test only expect this listener to be called on the non-secure NIF ATTRIBUTE_ZWAVE_NIF. This change make sure that the code is only executed in the context of ATTRIBUTE_ZWAVE_NIF and ignored  for ATTRIBUTE_ZWAVE_SECURE_NIF as this test don't care about it.

Bug-SiliconLabs: UIC-3082
Relate-to: SiliconLabs#22
Forwarded-SiliconLabs: task/UIC-3082/phcoval/SiliconLabsGH-22/develop
@rzr
Copy link

rzr commented Jan 18, 2024

@rzr
Copy link

rzr commented Jan 19, 2024

Please merge if you like the proposed change and it will land in upcoming release

@rzr
Copy link

rzr commented Jan 22, 2024

Feedback welcome, if no objection we will probably merge this downstream

rzr and others added 2 commits January 22, 2024 13:54
Bug-SiliconLabs: UIC-3082
Relate-to: SiliconLabs#22
Forwarded-SiliconLabs: task/UIC-3082/phcoval/SiliconLabsGH-22/develop
Origin: #2
Signed-off-by: Philippe Coval <philippe.coval@silabs.com>
@nkljajic nkljajic merged commit 8ebdf7f into nkljajic:fix-mc-secure-nif Jan 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants