Commit 8ef4500
Because logptest.NewTestingLogger uses the testing.T as the output for
the logger, it could happen that the processors would log after the
test had ended, leading to a panic.
This commit fixes it by using a no-op logger instead.
(cherry picked from commit 34f3c91)
Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
1 parent 3d60519 commit 8ef4500
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
0 commit comments