summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2019-03-20 09:44:09 -0700
committerBenedict Wong <benedictwong@google.com>2019-04-03 17:52:03 -0700
commitabcc6c082193053ea403921d3129f426ad3f5c3e (patch)
treedb0ee241e47521f47b496ec0ab45ca8e6af1da33 /tools/aapt2/java/JavaClassGenerator.cpp
parent88e2a9aaee134178d6b7edbc479e87a3f6b1b665 (diff)
Fix flaky UdpEncapsulationSocket test
This commit reduces the flakiness of the testOpenAndCloseUdpEncapsulationSocket by retrying up to three times. Unfortunately, testing port-selected socket creation is racy against other applications. This helps to handle the same race condition as done in IpSecService#bindToRandomPort Bug: 128024100 Test: 200x runs of testOpenAndCloseUdpEncapsulationSocket Change-Id: I7e036ce821019dbac6c50899bd0894e89d2fe82a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions