truncate tests should not use ReOpen

This commit is contained in:
Sridhar Ratnakumar 2013-05-29 15:08:10 -07:00
parent 0758578f6c
commit de27e252a7
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ func _TestReSeek(_t *testing.T, poll bool) {
t.CreateFile("test.txt", "a really long string goes here\nhello\nworld\n")
tail := t.StartTail(
"test.txt",
Config{Follow: true, ReOpen: true, Poll: poll, Location: -1})
Config{Follow: true, ReOpen: false, Poll: poll, Location: -1})
go t.VerifyTailOutput(tail, []string{
"a really long string goes here", "hello", "world", "h311o", "w0r1d", "endofworld"})