Skip to content

Commit 1e5f42f

Browse files
committed
Re-adding test step 11
1 parent f7a81b5 commit 1e5f42f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/python_testing/TC_ACL_2_8.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,13 @@ async def internal_test_TC_ACL_2_8(self, force_legacy_encoding: bool):
402402
event.Data.fabricIndex,
403403
f1,
404404
"Should not contain event with FabricIndex F1")
405+
406+
# Re-running test using the legacy list writing mechanism
407+
if not force_legacy_encoding:
408+
self.step(11)
409+
logging.info("*** Rerunning test using the legacy list writing mechanism now ***")
410+
else:
411+
self.skip_step(11)
405412

406413
def desc_TC_ACL_2_8(self) -> str:
407414
return "[TC-ACL-2.8] ACL multi-fabric"
@@ -428,6 +435,8 @@ def steps_TC_ACL_2_8(self) -> list[TestStep]:
428435
"Result is SUCCESS, value is list of AccessControlEntryChanged containing 2 elements, and MUST NOT contain any element with FabricIndex F2"),
429436
TestStep(10, "TH2 reads DUT Endpoint 0 AccessControl cluster AccessControlEntryChanged event",
430437
"Result is SUCCESS, value is list of AccessControlEntryChanged containing 2 elements, and MUST NOT contain any element with FabricIndex F1"),
438+
TestStep(11, "Re-run the test using the legacy list writing mechanism, where the client issues a series of AttributeDataIBs, with the first containing a path to the list itself and Data that is empty array, which signals clearing the list, and subsequent AttributeDataIBs containing updates.",
439+
"Test succeeds with legacy list encoding mechanism"),
431440
]
432441
return steps
433442

0 commit comments

Comments
 (0)