fix: JENKINS-44568, JENKINS-44414 #68
fix: [JENKINS-44568], [JENKINS-44414]
referenced this pull request
Aug 4, 2017
So I now have three different approaches claiming to fix JENKINS-44568 and JENKINS-44414; #66, #68 and #69
So which one should I go for?
The method testReceiveEvents in GerritConnectionTest is testing that events are properly processed. The connection has a method to set the buffer size, which is set to 13 for the test. One event is created that is very big filling the buffer several times.
StringBuilder is only instantiated and used in the getLine() method.