//Ping the container
//Continuously try calling the test URL until it succeeds or
// until a timeout is reached (we then throw a build exception).
try
{
HttpProbe httpProbe = new HttpProbe(testURL);
if (httpProbe.timeout(this.timeout, this.checkInterval))
{
throw new BuildException("Failed to start the container after "
+ "more than [" + this.timeout + "] ms. Trying to connect "
+ "to the [" + testURL + "] test URL yielded an "
+ "error code. Please run in debug mode for more details "