Commit c21ea16
authored
bug: fix flaky test TestQueuedRetry_RequeuingEnabled (#8989)
fixes a flaky test
Fixing a bug - TestQueuedRetry_RequeuingEnabled has been failing
occasionally. Upon investigation, `be.send` calls the underlying
`observabilityConsumerSender.send` which calls `wg.Done()`, so we need
to add `wg.Add(1)` before that
Fixes #6624
**Testing:** Ran the same test multiple times before/after change: `go
test -race -run TestQueuedRetry_RequeuingEnabled -count 1000`1 parent 3b56bd0 commit c21ea16
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | | - | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
0 commit comments