From af2f02c2d832869f1a6b2777fca32b66e7934612 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Thu, 20 Jun 2024 16:57:02 -0400 Subject: [PATCH] Make endpoint_string one line for ccr test (#4794) Signed-off-by: Peter Zhu --- src/test_workflow/integ_test/integ_test_suite_opensearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_workflow/integ_test/integ_test_suite_opensearch.py b/src/test_workflow/integ_test/integ_test_suite_opensearch.py index 42c6b391ae..d6abc87c74 100644 --- a/src/test_workflow/integ_test/integ_test_suite_opensearch.py +++ b/src/test_workflow/integ_test/integ_test_suite_opensearch.py @@ -114,7 +114,7 @@ def custom_node_endpoint_encoder(node_endpoint: NodeEndpoint) -> dict: endpoints_list = [] for cluster_details in cluster_endpoints: endpoints_list.append(cluster_details.__dict__) - endpoints_string = json.dumps(endpoints_list, indent=0, default=custom_node_endpoint_encoder) + endpoints_string = json.dumps(endpoints_list, indent=0, default=custom_node_endpoint_encoder).replace("\n", "") cmd = f"bash {script} -e '" cmd = cmd + endpoints_string + "'" cmd = cmd + f" -s {str(security).lower()} -v {self.bundle_manifest.build.version}"