diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8b4c73..1f7998d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: - name: Test env: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - OPENSEARCH_URL: http://admin:admin@localhost:9200 + OPENSEARCH_URL: http://localhost:9200 POST_IMAGES_API_KEY: ${{ secrets.POST_IMAGES_API_KEY }} run: | ./bin/setup diff --git a/test/products/opensearch.js b/test/products/opensearch.js index 9f9e5af..2d04d34 100644 --- a/test/products/opensearch.js +++ b/test/products/opensearch.js @@ -2,7 +2,7 @@ import fs from "fs"; import { Client } from "@opensearch-project/opensearch"; const opensearch = new Client({ - node: process.env.OPENSEARCH_URL || "http://admin:admin@localhost:9200", + node: process.env.OPENSEARCH_URL || "http://localhost:9200", ssl: { ca: fs.readFileSync("/etc/ssl/certs/Comodo_AAA_Services_root.pem"), rejectUnauthorized: false,