test: ensure that subsequent line(s) are being skipped
This commit is contained in:
parent
d2a44130c2
commit
fc42d757b5
|
@ -259,7 +259,7 @@ func TestReSeekPolling(_t *testing.T) {
|
||||||
|
|
||||||
func TestRateLimiting(_t *testing.T) {
|
func TestRateLimiting(_t *testing.T) {
|
||||||
t := NewTailTest("rate-limiting", _t)
|
t := NewTailTest("rate-limiting", _t)
|
||||||
t.CreateFile("test.txt", "hello\nworld\nagain\n")
|
t.CreateFile("test.txt", "hello\nworld\nagain\nextra\n")
|
||||||
config := Config{
|
config := Config{
|
||||||
Follow: true,
|
Follow: true,
|
||||||
LimitRate: 2}
|
LimitRate: 2}
|
||||||
|
|
Loading…
Reference in New Issue