EGit behaves differently than this test expects, when timeout is reached it doesn't display the error on the wizard page but raises an extra error popup saying

Transport error  Reason: 
git://www.example.com/EGIT: connection timeout: connect

hence this assert fails consistently.