Commit 7c8df46
authored
test: Fix ANRTrackerTests.clearDirectlyAfterStart (#4773)
The tests testClearDirectlyAfterStart,
testClearDirectlyAfterStart_FullyBlocking_NotReported
sometimes failed with the started and finished invocations being greater
than 1. This is fixed now by asserting the number of starts matches
the number of finish invocations.1 parent bc0c36e commit 7c8df46
File tree
2 files changed
+8
-6
lines changed- Tests/SentryTests/Integrations/ANR
2 files changed
+8
-6
lines changedLines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | | - | |
408 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| |||
0 commit comments