elasticsearch/elasticsearch — pull request #5200 by dadoonet (2014-02-20 16:28:10+00:00)
Title: [TEST] Plugins: wait for REST Service to start

When running tests for site plugins, it could happen that the REST Service is not fully started and not ready immediately to serve HTTP requests.
It gives `503 Service Unavailable` error in that case.

This patch will gives 5 seconds before failing the test.