Skip to content

Commit 7fe34bf

Browse files
authored
do not check storage nodes (#11541)
1 parent ada1f24 commit 7fe34bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/tests/olap/lib/ydb_cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ def _check_node(n):
225225
errors.append(f'Only {ok_dynnodes_count} from {dynnodes_count} dynnodes are ok: {dynnodes_errors}')
226226
storage_nodes_count = nodes_by_role['Storage']
227227
ok_storage_nodes_count = ok_by_role['Storage']
228-
if ok_storage_nodes_count < dynnodes_count:
228+
if ok_storage_nodes_count < storage_nodes_count:
229229
storage_nodes_errors = ','.join(node_errors['Tenant'])
230-
errors.append(f'Only {ok_storage_nodes_count} from {storage_nodes_count} storage nodes are ok, but {dynnodes_count} need. {storage_nodes_errors}')
230+
errors.append(f'Only {ok_storage_nodes_count} from {storage_nodes_count} storage nodes are ok. {storage_nodes_errors}')
231231
paths_to_balance = []
232232
if isinstance(balanced_paths, str):
233233
paths_to_balance += cls._get_tables(balanced_paths)

0 commit comments

Comments
 (0)