diff options
| author | 2023-11-08 17:12:01 +0000 | |
|---|---|---|
| committer | 2023-11-08 18:15:30 +0000 | |
| commit | 4c2d9589560b009dc6aaa89e55cce52c7d04473d (patch) | |
| tree | 9e89b62a9c3b8373341755a2079f06d8605deee0 /libs/androidfw/ZipFileRO.cpp | |
| parent | 0d122c426087f13d2141ce4bb02c0d7b7910b7d0 (diff) | |
Fix broken test by increasing Thread#join timeout
The timeout was added in ag/19606284 but it seems 1ms wasn't enough for
the work to complete so the test as almost 100% flaky.
Test: atest UserBackupManagerServiceTest
Fixes: 276437270
Fixes: 309507814
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bf8a676082dc24a3397c412c9b8b8e68da8f18d1)
Merged-In: Ie8ff85d8fc52ae9e9d80778131afc0bf8a8eedd6
Change-Id: Ie8ff85d8fc52ae9e9d80778131afc0bf8a8eedd6
NOTE FOR REVIEWERS - errors occurred while applying the patch.
PLEASE REVIEW CAREFULLY.
Errors:
Error applying patch in services/tests/mockingservicestests/src/com/android/server/backup/UserBackupManagerServiceTest.java, hunk HunkHeader[84,7->84,7]: Hunk cannot be applied
Original patch:
From bf8a676082dc24a3397c412c9b8b8e68da8f18d1 Mon Sep 17 00:00:00 2001
From: Sarp Misoglu <sarpm@google.com>
Date: Wed, 05 Apr 2023 14:25:06 +0100
Subject: [PATCH] Fix broken test by increasing Thread#join timeout
The timeout was added in ag/19606284 but it seems 1ms wasn't enough for
the work to complete so the test as almost 100% flaky.
Test: atest UserBackupManagerServiceTest
Fixes: 276437270
Change-Id: Ie8ff85d8fc52ae9e9d80778131afc0bf8a8eedd6
---
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions