summaryrefslogtreecommitdiff
path: root/framework-s/java
diff options
context:
space:
mode:
author Jay Thomas Sullivan <jaysullivan@google.com> 2023-11-30 18:05:55 -0800
committer Jay Sullivan <jaysullivan@google.com> 2023-12-01 19:34:34 +0000
commitfa6726c5ed9dc6652eb989151f13376262edd254 (patch)
tree119c5e821a6769437553fbd5fac5962bb684aed0 /framework-s/java
parent45ff302be0117b7e0c7ec04593f6d053d8d3d238 (diff)
Possibly fix NearbyDevicesRenouncePermissionTest
This test has a few rare flakes (that only occur on certain targets), so: 1. Fix one of them, by setting a high scan_quota_count for Bluetooth; this config defaults to 5 and denotes the max number of Bluetooth scans allowed per every 30 seconds. Change it from 5 to 1000. 2. Possibly fix the other, by using AtomicInteger for variables used across threads, and by ignoring async noteOps that originated before the test began (possibly from previous tests). Since I can't reproduce this error locally, I don't know if this fixes it: it's just a guess. In case this doesn't work, add some log statements to help diagnose the issue. Bug: 304474384 Test: atest NearbyDevicesRenouncePermissionTest Change-Id: Ie7405cada8bbc33f5d844c3851e196f7dfe049be
Diffstat (limited to 'framework-s/java')
0 files changed, 0 insertions, 0 deletions