diff --git a/plugins/inputs/tail/tail_test.go b/plugins/inputs/tail/tail_test.go index e8a16cc5c..23df0d0b8 100644 --- a/plugins/inputs/tail/tail_test.go +++ b/plugins/inputs/tail/tail_test.go @@ -43,6 +43,7 @@ func TestTailFromBeginning(t *testing.T) { }, map[string]string{ "mytag": "foo", + "path": tmpfile.Name(), }) } @@ -84,6 +85,7 @@ func TestTailFromEnd(t *testing.T) { }, map[string]string{ "othertag": "foo", + "path": tmpfile.Name(), }) assert.Len(t, acc.Metrics, 1) }