Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed Dec 15, 2022
1 parent 85ef946 commit 91d3180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filebeat/input/filestream/prospector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ func TestOnRenameFileIdentity(t *testing.T) {
for k, tc := range testCases {
t.Run(k, func(t *testing.T) {
p := fileProspector{
filewatcher: newMockFileWatcher(tc.events, len(tc.events)),
filewatcher: &mockFileWatcher{events: tc.events},
identifier: mustPathIdentifier(true),
stateChangeCloser: stateChangeCloserConfig{Renamed: true},
}
Expand Down

0 comments on commit 91d3180

Please sign in to comment.