opensearch-project / opensearch-php

Official PHP Client for OpenSearch
Other
109 stars 58 forks source link

[BUG] Re-add skipped tests (All of Sniffing unit tests use outdated cluster state format, need to redo) #121

Closed dblock closed 8 months ago

dblock commented 1 year ago

What is the bug?

Running tests for the first time produces skipped tests.

How can one reproduce the bug?

composer install
composer run unittest

There were 10 skipped tests:

1) OpenSearch\Tests\ConnectionPool\SniffingConnectionPoolTest::testAddOneHostThenGetConnection
All of Sniffing unit tests use outdated cluster state format, need to redo

/Users/dblock/source/opensearch-project/opensearch-php/dblock-opensearch-php/tests/ConnectionPool/SniffingConnectionPoolTest.php:35

What is the expected behavior?

No skipped tests.

What is your host/environment?

MacOS.