From 312de30d7042d9dfa1a735d64e798fb0d8000762 Mon Sep 17 00:00:00 2001 From: dblock Date: Fri, 19 Apr 2024 08:20:17 -0400 Subject: [PATCH] Set discovery.type. Signed-off-by: dblock --- .github/workflows/test_unreleased.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_unreleased.yml b/.github/workflows/test_unreleased.yml index ac681f6e5..7f72305c3 100644 --- a/.github/workflows/test_unreleased.yml +++ b/.github/workflows/test_unreleased.yml @@ -51,9 +51,8 @@ jobs: working-directory: opensearch/distribution/archives/linux-tar/build/distributions run: | tar xf opensearch-min-* - echo "discovery.type: single-node" >> ./opensearch-*/config/opensearch.yml - ./opensearch-*/bin/opensearch & - for attempt in {1..20}; do sleep 5; if curl -s localhost:9200; then echo '=====> ready'; break; fi; echo '=====> waiting...'; done + ./opensearch-*/bin/opensearch -E discovery.type=single-node & + for attempt in {1..20}; do sleep 15; if curl -s localhost:9200; then echo '=====> ready'; break; fi; echo '=====> waiting...'; done - name: Checkout PHP Client uses: actions/checkout@v2 @@ -73,7 +72,6 @@ jobs: - name: Wait for Search server run: php ./.github/wait_for_opensearch.php - - name: Integration tests run: | composer run integration