diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2022-01-12 14:59:05 +0900 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2022-01-27 18:49:32 +0900 |
| commit | 1d4e537a2b278f2456592d13025564b5c5ed28b5 (patch) | |
| tree | 546d2fff7a7c1b516f2606681028fdc1c99b5480 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | f826bce37a30dce3841209340f58493e9d45ce21 (diff) | |
Increase the number of test service names
Append a random number between 0 and 999999999 to the service name,
instead of 0 to 999 (and historically 0 to 9999). This reduces chances
that a collision can happen, if the test is run simultaneously on
devices on the same network.
Bug: 190249673
Test: atest NsdManagerTest
Change-Id: I14a7a60a45c41b920f50d9ccc4dd3f98fd623c42
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
