Skip to content

Commit

Permalink
Reflect node.max_local_storage_nodes setting removal
Browse files Browse the repository at this point in the history
  • Loading branch information
BaurzhanSakhariev committed May 18, 2022
1 parent 06af713 commit 8417a0e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/crate/qa/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ def _new_cluster(self, version, num_nodes, settings=None, env=None):
s = {
'cluster.name': gen_id(),
'gateway.recover_after_nodes': num_nodes,
'gateway.expected_nodes': num_nodes,
'node.max_local_storage_nodes': num_nodes,
'gateway.expected_nodes': num_nodes
}
s.update(settings)
nodes = []
Expand All @@ -208,8 +207,7 @@ def _new_heterogeneous_cluster(self, versions, settings=None):
s = {
'cluster.name': gen_id(),
'gateway.recover_after_nodes': num_nodes,
'gateway.expected_nodes': num_nodes,
'node.max_local_storage_nodes': num_nodes,
'gateway.expected_nodes': num_nodes
}
s.update(settings)
nodes = []
Expand All @@ -226,11 +224,11 @@ def upgrade_node(self, old_node, new_version):
return new_node

def setUp(self):
self._path_data = self.mkdtemp()
self._on_stop = []
self._log_consumers = []

def new_node(version, settings=None, env=None):
self._path_data = self.mkdtemp()
crate_dir = get_crate(version)
version_tuple = _extract_version(crate_dir)
v = version_tuple_to_strict_version(version_tuple)
Expand Down

0 comments on commit 8417a0e

Please sign in to comment.