Commit efb565b
committed
Fix TestZPagesExtensionHost flake after otel-go bump
t.Context() is canceled before t.Cleanup functions run, and the
bumped otel/sdk/log BatchProcessor.Shutdown now checks ctx.Err()
up front instead of racing on a select, so shutdown deterministically
returned context.Canceled. Use context.Background() in cleanup instead,
matching the pattern used elsewhere in the codebase.
Assisted-by: Claude Sonnet 51 parent d4cba71 commit efb565b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
0 commit comments