Skip to content

Commit

Permalink
Make endpoint_string one line for ccr test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Jun 20, 2024
1 parent f41a79e commit a94e293
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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", "")

Check warning on line 117 in src/test_workflow/integ_test/integ_test_suite_opensearch.py

View check run for this annotation

Codecov / codecov/patch

src/test_workflow/integ_test/integ_test_suite_opensearch.py#L117

Added line #L117 was not covered by tests
cmd = f"bash {script} -e '"
cmd = cmd + endpoints_string + "'"
cmd = cmd + f" -s {str(security).lower()} -v {self.bundle_manifest.build.version}"
Expand Down

0 comments on commit a94e293

Please sign in to comment.