Add path tag to tail tests

This commit is contained in:
Daniel Nelson 2018-07-09 17:39:51 -07:00
parent 9491cd91cd
commit 7591a50d52
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 2 additions and 0 deletions

View File

@ -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)
}