jenkinsci/jenkins — pull request #999 by marco-miller (2013-11-04 16:53:26+00:00)
Title: [FIXED JENKINS-18058]

Waiting 100 millis and retrying just once if premature EOF reached for
stream in port-based cli connection. Throwing exception if unable to
connect still, instead of initializing array with negative size as
before. PowerMock-based unit test introduced to test this specific
case, hence ConnectionMockTest instead of ConnectionTest class usage;
PowerMock requires a dedicated class, indeed.