Commit d092fd4
authored
test: Remove unnecessary test waits (#22383)
Removes the `await Promise.resolve()` microtick yields at the start of
the ioredis, mysql2 and redis diagnostics-channel tracing scenarios.
These were added to give the DC subscriber a chance to register before
the driver created/published on its native `TracingChannel`s. With the
orchestrion instrumentation now reliably wiring up channel subscribers
before the instrumented module publishes, the manual yield is no longer
needed and the scenarios are simpler without it.1 parent ffcf353 commit d092fd4
3 files changed
Lines changed: 0 additions & 12 deletions
File tree
- dev-packages/node-integration-tests/suites/tracing
- ioredis-dc
- mysql2-tracing-channel
- redis-dc
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
| |||
0 commit comments