You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/05/30 15:41:49 UTC
[GitHub] ivankelly opened a new pull request #1866: Make supervisord wait a
single command
ivankelly opened a new pull request #1866: Make supervisord wait a single command
URL: https://github.com/apache/incubator-pulsar/pull/1866
The integration tests wait for supervisord to be up before attempting
to start the brokers and proxies. Previously we were doing this by
checking for the existence of the supervisord socket
repeatedly. However, this spams the log.
This patch replaces the loop with a single bash command (a bash loop),
with the timeout built into the command.
Failure of the socket to appear also throws a exception (timeout
exits with 124), rather than returning a boolean which we were not
checking previously anyhow.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services