Commit 57756c8
committed
fix a race in clearing spans in this test case
There is a race with SimpleSpanProcessor#onEnd() where the spans
are not synchronously 'exported' if span.resource.asyncAttributesPending.
Something about the updates in the PR results in this race being more
likely to occur.1 parent 262ebba commit 57756c8
File tree
1 file changed
+3
-2
lines changed- detectors/node/opentelemetry-resource-detector-aws/test/detectors
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments