Commit ae9b6a7
authored
test(profiling): fix flakiness in test_asyncio_coroutines (#15473)
## Description
This unflakes the `test_asyncio_coroutines` test for Profiling. It still
isn't clear why it never flaked locally, but the root cause of flakiness
was that we were searching for the expected stacks in `samples`, which
was `profile.sample` filtered by "has a `task name` label" – sometimes
those stacks wouldn't have a stack name. Why that is isn't clear either,
but given that we are making lots of improvements to asyncio right now,
I think this is going to get better soon.
[No flakes in CI
Viz](https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest%20%40git.branch%3Akowalski%2Ftest-profiling-fix-flakiness-in-test_asyncio_coroutines%20%40test.service%3Add-trace-py%20%40test.status%3Afail%20%40ci.stage.name%3A%2Aprof%2A%20%40ci.provider.name%3Agitlab&agg_m=count&agg_m_source=base&agg_q=%40test.name&agg_q_source=base&agg_t=count¤tTab=overview&eventStack=&fromUser=false&index=citest&top_n=30&top_o=top&viz=timeseries&x_missing=true&start=1764574483529&end=1764660883529&paused=false)1 parent 5cbc5a1 commit ae9b6a7
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
136 | | - | |
| 135 | + | |
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
| |||
0 commit comments