Commit 8e54169
test(profiler): Wait for automatic shutdown (#7364)
The automatic profiler lifecycle shuts down asynchronously after
inactive profiles are observed by the sampler. Replace the fixed 200 ms
sleeps with a bounded wait for both shutdown and the resulting profile
chunk, so loaded CI workers cannot race the assertion.
<!-- junior-request-attribution:start -->
Requested by **neel**.
<!-- junior-request-attribution:end -->
<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC09M26BC6A1%3A1788434448.544309 -->
--
[View Junior
Session](https://junior-prod.sentry.dev/conversations/slack%3AC09M26BC6A1%3A1788434448.544309)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC09M26BC6A1%3A1788434448.544309/?project=4510944073809921)
<!-- junior-session-footer:end -->
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Neel Shah <6536764+sl0thentr0py@users.noreply.github.com>1 parent ca4d380 commit 8e54169
1 file changed
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
30 | 51 | | |
31 | 52 | | |
32 | 53 | | |
| |||
807 | 828 | | |
808 | 829 | | |
809 | 830 | | |
810 | | - | |
811 | | - | |
812 | | - | |
| 831 | + | |
813 | 832 | | |
814 | 833 | | |
815 | 834 | | |
| |||
891 | 910 | | |
892 | 911 | | |
893 | 912 | | |
894 | | - | |
895 | | - | |
896 | | - | |
| 913 | + | |
897 | 914 | | |
898 | 915 | | |
899 | 916 | | |
| |||
0 commit comments