Skip to content

Commit dfbfd96

Browse files
authored
fix: facter harvest test (#187)
1 parent 82ce44f commit dfbfd96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/harvest/facter_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ func TestFacter(t *testing.T) {
3939
ctx.On("SendData", mock.Anything).Return().Run(func(args mock.Arguments) {
4040
ch <- args[0].(agent.PluginOutput)
4141
})
42+
ctx.SendDataWg.Add(1)
4243

4344
facterPlugin := pluginsLinux.NewFacterPlugin(ctx)
4445
go facterPlugin.Run()

0 commit comments

Comments
 (0)