Commit e053df5
authored
[chore][processor/groupbytrace] fix flaky TestEventShutdown (#44548)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
We should wait for the shutdown call to return before checking for
expired events, because the shutdown goroutine might not be able to
acquire the lock in a timely manner.
<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes
#445331 parent 36a7cf3 commit e053df5
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
428 | 431 | | |
429 | 432 | | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
433 | 436 | | |
434 | 437 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| |||
0 commit comments