Commit b44eee3
test(TestPeriodIsAddedToEvent): wait for worker to shutdown (#47660)
* test(TestPeriodIsAddedToEvent): wait for worker to shutdown
metricbeat wrapper is leaking a goroutine causing the test
to fail because it's logging a message after the test is over.
wait for worker to shutdown before returning
* Apply suggestion from @orestisfl
Co-authored-by: Orestis Floros <orestisflo@gmail.com>
---------
Co-authored-by: Orestis Floros <orestisflo@gmail.com>1 parent a6c922e commit b44eee3
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | 196 | | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
203 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
204 | 210 | | |
205 | 211 | | |
206 | 212 | | |
| |||
0 commit comments