Skip to content

Commit 8e57514

Browse files
authored
YQ-4076 Add cpu quota to test config (#14626)
1 parent 3ee5135 commit 8e57514

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ydb/tests/tools/fq_runner/kikimr_runner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,13 @@ def fill_config(self, control_plane):
534534
"RowDispatcher_" + self.uuid)
535535

536536
fq_config['quotas_manager'] = {'enabled': True}
537+
fq_config['quotas_manager']['quota_descriptions'] = [{
538+
'subject_type': 'cloud',
539+
'metric_name': 'yq.cpuPercent.count',
540+
'hard_limit': 10000,
541+
'default_limit': 10000}]
537542

538543
fq_config['rate_limiter'] = {'enabled': True}
539-
fq_config['quotas_manager'] = {'enabled': True}
540544
self.fill_rate_limiter_config(fq_config['rate_limiter'], "RateLimiter_" + self.uuid)
541545

542546

0 commit comments

Comments
 (0)