Skip to content

Commit

Permalink
refactor with non windows tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zackattack01 committed Dec 23, 2024
1 parent da95bb3 commit 00ab8af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/osquery/runtime/runtime_posix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestOsquerySlowStart(t *testing.T) {
k.On("OsqueryFlags").Return([]string{}).Maybe()
k.On("RegisterChangeObserver", mock.Anything, mock.Anything, mock.Anything, mock.Anything, mock.Anything)
k.On("Slogger").Return(slogger)
k.On("LatestOsquerydPath", mock.Anything).Return(testOsqueryBinaryDirectory)
k.On("LatestOsquerydPath", mock.Anything).Return(testOsqueryBinary)
k.On("LoggingInterval").Return(5 * time.Minute).Maybe()
k.On("LogMaxBytesPerBatch").Return(0).Maybe()
k.On("Transport").Return("jsonrpc").Maybe()
Expand Down Expand Up @@ -97,7 +97,7 @@ func TestExtensionSocketPath(t *testing.T) {
k.On("RootDirectory").Return(rootDirectory).Maybe()
k.On("OsqueryVerbose").Return(true).Maybe()
k.On("OsqueryFlags").Return([]string{}).Maybe()
k.On("LatestOsquerydPath", mock.Anything).Return(testOsqueryBinaryDirectory)
k.On("LatestOsquerydPath", mock.Anything).Return(testOsqueryBinary)
k.On("LoggingInterval").Return(5 * time.Minute).Maybe()
k.On("LogMaxBytesPerBatch").Return(0).Maybe()
k.On("Transport").Return("jsonrpc").Maybe()
Expand Down

0 comments on commit 00ab8af

Please sign in to comment.