summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-11 18:58:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-11 18:58:10 +0000
commit98eb54571e0c87655e10a4fd9d67261a2e1c4901 (patch)
treececace7b2decf5884c6eac6721ee100cd320ad4c
parent66fb117baa4b688e196facec5fc69c30cae2175b (diff)
parent4e62eefd79939e2c7659d9a1aef805a4141e89ac (diff)
downloadUwb-98eb54571e0c87655e10a4fd9d67261a2e1c4901.tar.gz
Merge "Flush all received session callback events before attempting tear down" into main
-rw-r--r--tests/cts/hostsidetests/multidevices/uwb/lib/uwb_ranging_decorator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cts/hostsidetests/multidevices/uwb/lib/uwb_ranging_decorator.py b/tests/cts/hostsidetests/multidevices/uwb/lib/uwb_ranging_decorator.py
index c306291c..d20eed3f 100644
--- a/tests/cts/hostsidetests/multidevices/uwb/lib/uwb_ranging_decorator.py
+++ b/tests/cts/hostsidetests/multidevices/uwb/lib/uwb_ranging_decorator.py
@@ -270,6 +270,7 @@ class UwbRangingDecorator():
Args:
"""
for session in self._callback_keys:
+ self.clear_ranging_session_callback_events(session)
self.ad.uwb.closeRangingSession(self._callback_keys[session])
self.verify_callback_received("Closed", session)
self.clear_all_ranging_sessions()