Repository navigation
Commit e76c4e5
test(android): Collect UI test breadcrumbs in a thread-safe list (#6681)
beforeBreadcrumb runs on whichever thread adds the breadcrumb, so the
Compose click and swipe tests could append to a plain ArrayList from two
threads at once and fail with an NPE.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 639b370 commit e76c4e5
1 file changed
Lines changed: 5 additions & 2 deletions
File tree
- sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
0 commit comments