Skip to content

Commit 8d635d7

Browse files
Start without an active dataset in TC_TBRM_2_3
This is so the test passes when running against the example app in CI.
1 parent 1cb9424 commit 8d635d7

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

src/app/tests/suites/certification/Test_TC_TBRM_2_3.yaml

+31-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ config:
2222
nodeId: 0x12344321
2323
cluster: Thread Border Router Management
2424
endpoint: 1
25+
PIXIT.TBRM.THREAD_ACTIVE_DATASET:
26+
type: octet_string
27+
defaultValue: "hex:0e080000000000010000000300001235060004001fffe002082ad51c02fe8f64f20708fddb8af85255f93a051083e2b9b2cc609b00125adbf823ea2ab20102c4d904100a133626c411d7de02a570ca3c3d80470c0402a0f7f8031054687265616441637469766554657374"
2528
PIXIT.TBRM.THREAD_PENDING_DATASET:
2629
type: octet_string
2730
defaultValue: "hex:0e080000000000020000340400004e2035060004001fffe002082ad51c02fe8f64f20708fddb8af85255f93a051083e2b9b2cc609b00125adbf823ea2ab20102c4d904100a133626c411d7de02a570ca3c3d80470c0402a0f7f8030d54687265616450656e64696e67000300000c33080000000000010000"
@@ -30,7 +33,7 @@ config:
3033
PIXIT.TBRM.THREAD_PENDING_DATASET.ACTIVE_TIMESTAMP: 0x20000
3134

3235
# Precondition:
33-
# The DUT has an Active Dataset that differs from PIXIT.TBRM.THREAD_PENDING_DATASET
36+
# The DUT does not have an Active Dataset
3437

3538
tests:
3639
- label: "Wait for the commissioned device to be retrieved"
@@ -41,6 +44,33 @@ tests:
4144
- name: nodeId
4245
value: nodeId
4346

47+
- label: "TH reads the ActiveDatasetTimestamp attribute from the DUT"
48+
command: readAttribute
49+
attribute: ActiveDatasetTimestamp
50+
response:
51+
saveAs: initialActiveTimestamp
52+
value: null
53+
54+
- label: "TH sends ArmFailSafe command to the DUT"
55+
cluster: General Commissioning
56+
command: ArmFailSafe
57+
endpoint: 0
58+
arguments:
59+
values:
60+
- name: ExpiryLengthSeconds
61+
value: 60
62+
- name: Breadcrumb
63+
value: 1
64+
65+
# TODO: runIf: initialActiveTimestamp == null
66+
- label: "TH sends a valid ActiveDatasetRequest command to the DUT"
67+
command: SetActiveDatasetRequest
68+
arguments:
69+
values:
70+
- name: ActiveDataset
71+
value: PIXIT.TBRM.THREAD_ACTIVE_DATASET
72+
73+
# TODO: runIf: initialActiveTimestamp == null
4474
- label:
4575
"TH subscribes to the ActiveDatasetTimestamp attribute from the DUT"
4676
command: subscribeAttribute

0 commit comments

Comments
 (0)