Skip to content

Commit

Permalink
Fixes:TC-DESC-1.1 ClusterRevision value missmatch in Descriptor Clust…
Browse files Browse the repository at this point in the history
…er (#28877)

* Fix TC-DESC-1.1 ClusterRevision value missmatch in Descriptor Cluster

* Restyled by whitespace

* fix CI error

* fix cluster revision error in Test_TC_DESC_1_1.yaml

* update read ClusterRevision step in Test_TC_DESC_1_1.yaml'

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
mideayanghui and restyled-commits authored Aug 25, 2023
1 parent 5ba532d commit cac5620
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
23 changes: 6 additions & 17 deletions src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,12 @@ tests:

#Issue: https://github.com/project-chip/connectedhomeip/issues/26599
- label: "Step 2: Read the global attribute: ClusterRevision"
verification: |
./chip-tool descriptor read cluster-revision 1 0
Verify "ClusterRevision" value is of unit16 and reflects the highest revision number, in RPI the value of ClusterRevision is 2 on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1649425080.347625][3458:3463] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_FFFD DataVersion: 3183189461
[1649425080.347719][3458:3463] CHIP:TOO: ClusterRevision: 1
[1649425080.347822][3458:3463] CHIP:EM: Sending Standalone Ack for MessageCounter:1458141 on exchange 62716i
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT
arguments:
values:
- name: "message"
value: "Please enter 'y' for success"
- name: "expectedValue"
value: "y"
command: "readAttribute"
attribute: "ClusterRevision"
response:
value: 2
constraints:
type: int16u

- label: "Step 3: Read the global attribute: FeatureMap"
command: "readAttribute"
Expand Down
28 changes: 19 additions & 9 deletions zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cac5620

Please sign in to comment.