Remove HEAD-handling hack. (#794)

* remove HEAD -> GET workaround

Signed-off-by: dblock <[email protected]>

* Removed remaining HEAD-handling code.

Signed-off-by: dblock <[email protected]>

* Fixed remaining references to admin:admin.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
Co-authored-by: Vincent Castaneda <[email protected]>
This commit is contained in:
Daniel (dB.) Doubrovkine
2024-08-15 10:15:13 -04:00
committed by GitHub
co-authored by Vincent Castaneda
parent 19a911387c
commit 55f9940d51
11 changed files with 27 additions and 38 deletions
+2 -1
View File
@@ -11,6 +11,7 @@
import json
import logging
import os
import sys
import time
import uuid
@@ -52,7 +53,7 @@ def test(thread_count: int = 1, item_count: int = 1, client_count: int = 1) -> N
"""test to index with thread_count threads, item_count records and run client_count clients"""
host = "localhost"
port = 9200
auth = ("admin", "admin")
auth = ("admin", os.getenv("OPENSEARCH_PASSWORD", "admin"))
index_name = "test-index-sync"
root = logging.getLogger()