aboutsummaryrefslogtreecommitdiffstats
path: root/library/python
diff options
context:
space:
mode:
authoriaz1607 <iaz1607@yandex-team.com>2023-09-13 09:55:52 +0300
committeriaz1607 <iaz1607@yandex-team.com>2023-09-13 10:16:19 +0300
commit08b7ee73a931f5717a1d50a30f7f70210db73f33 (patch)
tree1be80c2902f59d2c8e1be2c005b9ec7f441034d1 /library/python
parent369f3998d397d7efd3f9c5468ecfcaed06c9f32a (diff)
downloadydb-08b7ee73a931f5717a1d50a30f7f70210db73f33.tar.gz
Increase max metric name length
Diffstat (limited to 'library/python')
-rw-r--r--library/python/pytest/plugins/fixtures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/pytest/plugins/fixtures.py b/library/python/pytest/plugins/fixtures.py
index 98e91ce41a..d0b57ee101 100644
--- a/library/python/pytest/plugins/fixtures.py
+++ b/library/python/pytest/plugins/fixtures.py
@@ -13,7 +13,7 @@ def metrics(request):
class Metrics(object):
@classmethod
def set(cls, name, value):
- assert len(name) <= 128, "Length of the metric name must less than 128"
+ assert len(name) <= 256, "Length of the metric name must less than 128"
assert type(value) in [int, float], "Metric value must be of type int or float"
test_name = request.node.nodeid
if test_name not in test_metrics.metrics: