Skip to content

Commit fda07db

Browse files
committed
decreased peek to force errors
1 parent cbf3b4c commit fda07db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gatlingparser/decoders.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ func ReadErrorRecord(reader *bufio.Reader, runStartTimestamp int64) (ErrorRecord
370370
}
371371

372372
func ReadNotHeaderRecord(reader *bufio.Reader, runStartTimestapm int64, scenarios []string) (interface{}, error) {
373-
headBytes, err := reader.Peek(1024)
373+
headBytes, err := reader.Peek(8)
374374
if err == io.EOF {
375375
return nil, err
376376
}

0 commit comments

Comments
 (0)