Skip to content

Commit

Permalink
Display OpenSearch version in integration tests.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Apr 18, 2024
1 parent 3a0b223 commit 7d11085
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/wait_for_opensearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7d11085

Please sign in to comment.