Skip to content

Commit

Permalink
Stop the journald input cleanly to avoid logging after test completion (
Browse files Browse the repository at this point in the history
  • Loading branch information
camdencheek authored Oct 7, 2020
1 parent 79fb34c commit 188e8cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions operator/builtin/input/journald/journald_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func TestInputJournald(t *testing.T) {

err = journaldInput.Start()
require.NoError(t, err)
defer journaldInput.Stop()

expected := map[string]interface{}{
"_BOOT_ID": "c4fa36de06824d21835c05ff80c54468",
Expand Down

0 comments on commit 188e8cb

Please sign in to comment.