Skip to content

Commit

Permalink
fix: facter harvest test (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
varas authored Oct 26, 2020
1 parent 82ce44f commit dfbfd96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/harvest/facter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func TestFacter(t *testing.T) {
ctx.On("SendData", mock.Anything).Return().Run(func(args mock.Arguments) {
ch <- args[0].(agent.PluginOutput)
})
ctx.SendDataWg.Add(1)

facterPlugin := pluginsLinux.NewFacterPlugin(ctx)
go facterPlugin.Run()
Expand Down

0 comments on commit dfbfd96

Please sign in to comment.