Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Feb 8, 2024
1 parent c21543b commit d911fff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/osquery/interactive/interactive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"runtime"
"testing"

"github.com/go-kit/log"

Check failure on line 17 in pkg/osquery/interactive/interactive_test.go

View workflow job for this annotation

GitHub Actions / launcher (ubuntu-20.04)

no required module provides package github.com/go-kit/log; to add it:

Check failure on line 17 in pkg/osquery/interactive/interactive_test.go

View workflow job for this annotation

GitHub Actions / launcher (macos-12)

no required module provides package github.com/go-kit/log; to add it:
"github.com/kolide/kit/fsutil"
"github.com/kolide/launcher/pkg/packaging"
"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -83,7 +84,7 @@ func TestProc(t *testing.T) {
require.NoError(t, downloadOsquery(rootDir))
osquerydPath := filepath.Join(rootDir, "osqueryd")

proc, _, err := StartProcess(rootDir, osquerydPath, tt.osqueryFlags)
proc, _, err := StartProcess(log.NewNopLogger(), rootDir, osquerydPath, tt.osqueryFlags)

if tt.errContainsStr != "" {
require.Error(t, err)
Expand Down

0 comments on commit d911fff

Please sign in to comment.