File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 9898 run : |
9999 pip install pytest-timeout
100100
101+ - name : Debug OpenSearch/Elasticsearch status
102+ run : |
103+ echo "Root response:"
104+ curl -sS -D - http://localhost:$ES_PORT/ || true
105+ echo; echo "Cluster health:"
106+ curl -sS http://localhost:$ES_PORT/_cluster/health || true
107+ echo; echo "List opensearch/elasticsearch containers:"
108+ docker ps --format "table {{.ID}}\t{{.Image}}\t{{.Names}}" || true
109+ echo; echo "Container logs (first match):"
110+ cid=$(docker ps -q --filter "ancestor=opensearchproject/opensearch" | head -n1 || true)
111+ if [ -n "$cid" ]; then docker logs --tail 200 $cid || true; else echo "no opensearch container found"; fi
112+ env :
113+ ES_PORT : ${{ matrix.backend == 'elasticsearch8' && '9200' || '9202' }}
114+
101115 - name : Run test suite
102116 run : |
103117 pipenv run pytest -svvv --timeout=300
You can’t perform that action at this time.
0 commit comments