Skip to content

Commit

Permalink
Add new option to unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
srebhan committed Apr 11, 2024
1 parent 7f31093 commit 3043413
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/inputs/systemd_units/systemd_units_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,9 @@ func TestMultiInstance(t *testing.T) {
// Setup plugin. Do NOT call Start() as this would connect to
// the real systemd daemon.
plugin := &SystemdUnits{
Pattern: tt.pattern,
Timeout: config.Duration(time.Second),
Pattern: tt.pattern,
CollectDisabled: true,
Timeout: config.Duration(time.Second),
}
require.NoError(t, plugin.Init())

Expand Down

0 comments on commit 3043413

Please sign in to comment.