From 074c77ccbfeb2610fce51c9a28c7f902e46b1274 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 28 Apr 2014 12:56:31 -0700 Subject: [PATCH] update test for parent commit --- tail_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tail_test.go b/tail_test.go index c212c0c..6782c7a 100644 --- a/tail_test.go +++ b/tail_test.go @@ -263,12 +263,12 @@ func TestRateLimiting(_t *testing.T) { config := Config{ Follow: true, LimitRate: 2} + expecting := "Too much log activity (more than 2 lines per second being written); waiting a second before resuming tailing" tail := t.StartTail("test.txt", config) // TODO: also verify that tail resumes after the cooloff period. go t.VerifyTailOutput( - tail, []string{ - "hello", "world", "again", - "Too much activity; entering a cool-off period"}) + tail, + []string{"hello", "world", "again", expecting}) // Delete after a reasonable delay, to give tail sufficient time // to read all lines.