in appengine-plugins-core/src/main/java/com/google/cloud/tools/appengine/operations/cloudsdk/internal/process/WaitingProcessOutputLineListener.java [62:78]
public void await() throws ProcessHandlerException {
try {
if (message != null
&& timeoutSeconds != 0
&& !waitLatch.await(timeoutSeconds, TimeUnit.SECONDS)) {
throw new ProcessHandlerException(
"Timed out waiting for the success message: '" + message + "'");
}
if (exited) {
throw new ProcessHandlerException("Process exited before success message");
}
} catch (InterruptedException e) {
throw new ProcessHandlerException(e);
} finally {
waitLatch.countDown();
}
}