diff --git a/test/operations.py b/test/operations.py index 0962f4b26..f3a7d986f 100644 --- a/test/operations.py +++ b/test/operations.py @@ -2,13 +2,13 @@ import json -def create_index(endpoint: str, index_name: str, auth, verify_ssl: bool = False, protocol: str = 'https'): +def create_index(endpoint: str, index_name: str, auth, verify_ssl: bool = False): response = requests.put(f'{endpoint}/{index_name}', auth=auth, verify=verify_ssl) return response -def check_index(endpoint: str, index_name: str, auth, verify_ssl: bool = False, protocol: str = 'https'): +def check_index(endpoint: str, index_name: str, auth, verify_ssl: bool = False): response = requests.get(f'{endpoint}/{index_name}', auth=auth, verify=verify_ssl) return response diff --git a/test/tests.py b/test/tests.py index 38882bcac..2febde075 100644 --- a/test/tests.py +++ b/test/tests.py @@ -104,7 +104,7 @@ def setup_authentication(self, auth_type, username, password): return None def set_common_values(self): - self.index = self.unique_id + self.index = f"test_index_{self.unique_id}" self.doc_id = '7' self.ignore_list = [] @@ -266,7 +266,7 @@ def test_0005_invalidIncorrectUri(self): def test_0006_OSB(self): if self.deployment_type == "cloud": - cmd_exec = f"./runTestBenchmarks --unique-id {self.index}" + cmd_exec = f"/root/runTestBenchmarks.sh --unique-id {self.unique_id}" logger.warning(f"Running local command: {cmd_exec}") subprocess.run(cmd_exec, shell=True) else: