From 7d11085930df58c23d90830b0428e08e3a6305ac Mon Sep 17 00:00:00 2001 From: dblock Date: Thu, 18 Apr 2024 15:40:58 -0400 Subject: [PATCH] Display OpenSearch version in integration tests. Signed-off-by: dblock --- .github/wait_for_opensearch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/wait_for_opensearch.php b/.github/wait_for_opensearch.php index 10c6303ac..fb252a246 100644 --- a/.github/wait_for_opensearch.php +++ b/.github/wait_for_opensearch.php @@ -11,7 +11,8 @@ try { $client = ClientBuilder::create()->build(); $client->ping(); - echo 'Is up and running' . PHP_EOL; + $info = $client->info(); + echo 'OpenSearch ' . $info['version']['number'] . ' is up and running' . PHP_EOL; exit(0); } catch (Throwable $e) { if ($retries === $maxRetries) {