Skip to content

Commit 86ebfaa

Browse files
Update ICDManagementCluster test to cover off the Check-In message randomness
1 parent f1c6f1f commit 86ebfaa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/tests/suites/TestIcdManagementCluster.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ tests:
8787
command: "readAttribute"
8888
attribute: "ICDCounter"
8989
response:
90-
value: beforeRebootICDCounter + 101
90+
constraints:
91+
# It is possible ICD hasn't had time to send a Check-In message after reboot
92+
minValue: beforeRebootICDCounter + 100
93+
maxValue: beforeRebootICDCounter + 101
9194

9295
- label: "Verify the ICD is operating as a LIT ICD"
9396
command: "readAttribute"

0 commit comments

Comments
 (0)