From 1631180120fbfbdff5c7ff2341b0217f140cced4 Mon Sep 17 00:00:00 2001 From: jrhees-cae <61466710+jrhees-cae@users.noreply.github.com> Date: Thu, 24 Aug 2023 12:24:11 -0600 Subject: [PATCH] [TC-ACE-1.2] Set isUrgent flag when subscribing to events (#28820) Fixes #28817 --- src/python_testing/TC_ACE_1_2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/python_testing/TC_ACE_1_2.py b/src/python_testing/TC_ACE_1_2.py index 1bf5189d04c956..57a434c05cc4cd 100644 --- a/src/python_testing/TC_ACE_1_2.py +++ b/src/python_testing/TC_ACE_1_2.py @@ -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)