Skip to content

Commit

Permalink
Check Gather error
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan committed Dec 6, 2023
1 parent 3bfb09b commit 4da5dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/inputs/s7comm/s7comm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ func TestConnectionLoss(t *testing.T) {

var acc testutil.Accumulator
require.NoError(t, plugin.Start(&acc))
plugin.Gather(&acc)
plugin.Gather(&acc)
require.NoError(t, plugin.Gather(&acc))
require.NoError(t, plugin.Gather(&acc))
plugin.Stop()
listener.Close()

Expand Down

0 comments on commit 4da5dc7

Please sign in to comment.