Skip to content

Commit

Permalink
[TC-ACE-1.2] Set isUrgent flag when subscribing to events (#28820)
Browse files Browse the repository at this point in the history
Fixes #28817
  • Loading branch information
jrhees-cae authored and pull[bot] committed Sep 13, 2023
1 parent 6c3f64a commit 512b3fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python_testing/TC_ACE_1_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ async def test_TC_ACE_1_2(self):
subscription_acl.SetAttributeUpdateCallback(acl_cb)

self.print_step(5, "TH2 subscribes to the AccessControlEntryChanged event")
subscription_ace = await self.TH2.ReadEvent(nodeid=self.dut_node_id, events=[(0, Clusters.AccessControl.Events.AccessControlEntryChanged)], reportInterval=(1, 5), fabricFiltered=False, keepSubscriptions=True, autoResubscribe=False)
urgent = 1
subscription_ace = await self.TH2.ReadEvent(nodeid=self.dut_node_id, events=[(0, Clusters.AccessControl.Events.AccessControlEntryChanged, urgent)], reportInterval=(1, 5), fabricFiltered=False, keepSubscriptions=True, autoResubscribe=False)
ace_queue = queue.Queue()
ace_cb = EventChangeCallback(Clusters.AccessControl.Events.AccessControlEntryChanged, ace_queue)
subscription_ace.SetEventUpdateCallback(ace_cb)
Expand Down

0 comments on commit 512b3fd

Please sign in to comment.