Skip to content

Commit

Permalink
Update test_helper_cluster.py
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima authored Feb 29, 2024
1 parent b2bee46 commit a21604b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/lib/test_helper_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,14 @@ def test_node_obj_creation_from_json(self):
def test_get_cluster_settings(self, request_mock):
"""Test the get_cluster_settings method."""
request_mock.return_value = {
"persistent": {
"defaults": {
"knn.plugin.enabled": "false",
"cluster.routing.allocation.enable": "all",
},
"transient": {
"persistent": {
"knn.plugin.enabled": "true",
"cluster.routing.allocation.enable": "all",
},
"transient": {
"indices.recovery.max_bytes_per_sec": "50mb",
},
}
Expand Down

0 comments on commit a21604b

Please sign in to comment.