Skip to content

Commit

Permalink
explicitly stop logmon
Browse files Browse the repository at this point in the history
  • Loading branch information
endocrimes committed Jun 28, 2019
1 parent 36bf4df commit d36439f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/logmon/logmon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ func TestLogmon_Start_restart(t *testing.T) {
require.NoError(err)
})

require.NoError(lm.Stop())

// Start logmon again and assert that it can recieve logs again
require.NoError(lm.Start(cfg))

Expand Down

0 comments on commit d36439f

Please sign in to comment.