Adjust tests for OpenSearch

This commit is contained in:
Sergei Shitikov
2024-09-01 19:12:46 +02:00
parent ea07a96091
commit 93c9895027
5 changed files with 10 additions and 5 deletions
@@ -21,7 +21,7 @@ class OpenSearchContainerTest extends ContainerTestCase
public function testOpenSearch(): void
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, sprintf('http://%s:%d', self::$container->getAddress(), 9200));
curl_setopt($ch, CURLOPT_URL, sprintf('http://%s:%d', '127.0.0.1', 9200));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = (string) curl_exec($ch);