Skip to content

Commit

Permalink
raises num lines to 100k
Browse files Browse the repository at this point in the history
  • Loading branch information
dchappa committed Oct 23, 2023
1 parent af50f1d commit 4228271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/logfile/logfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ func createWriteRead(t *testing.T, prefix string, logFile *LogFile, done chan bo
defer close(evts)
// Choose a large enough number of lines so that even high-spec hosts will not
// complete receiving logEvents before the 2nd createWriteRead() goroutine begins.
const numLines int = 10000
const numLines int = 100000
const msg string = "this is the best log line ever written to a file"
writeLines(t, file, numLines, msg)
file.Close()
Expand Down

0 comments on commit 4228271

Please sign in to comment.