Commit ffbe5ad
fix(ci): join HandlerThreads after quitSafely to eliminate thread restart race
Add join(500) after quitSafely() in MessageManager.destroy() and
KitManagerImpl.reset() so old threads are fully dead before new ones
are created in the next test's startMParticle(). This eliminates the
"Thread starting during runtime shutdown" race on API 28 emulators.
Also revert instrumented-tests.yml timeout_minutes default from 30 to
20 — the hang is in test execution, not emulator boot.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a256ed3 commit ffbe5ad
3 files changed
Lines changed: 4 additions & 1 deletion
File tree
- .github/workflows
- android-core/src/main/java/com/mparticle/internal
- android-kit-base/src/main/java/com/mparticle/kits
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1048 | 1048 | | |
1049 | 1049 | | |
1050 | 1050 | | |
| 1051 | + | |
1051 | 1052 | | |
1052 | 1053 | | |
1053 | 1054 | | |
1054 | 1055 | | |
| 1056 | + | |
1055 | 1057 | | |
1056 | 1058 | | |
1057 | 1059 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1336 | 1336 | | |
1337 | 1337 | | |
1338 | 1338 | | |
| 1339 | + | |
1339 | 1340 | | |
1340 | 1341 | | |
1341 | 1342 | | |
| |||
0 commit comments