diff options
author | prettyboy <prettyboy@yandex-team.com> | 2022-12-10 10:40:14 +0300 |
---|---|---|
committer | prettyboy <prettyboy@yandex-team.com> | 2022-12-10 10:40:14 +0300 |
commit | 67bbe255510b60f6ea0aca30d61bec59bf05ff0d (patch) | |
tree | 7619b4fc37d099a86df77c9957c80798fb159aba /library/python/pytest/plugins | |
parent | a8aefff09fd4d9e76262100a23301e19259f8a3c (diff) | |
download | ydb-67bbe255510b60f6ea0aca30d61bec59bf05ff0d.tar.gz |
[library/python/pytest/plugins] Report pytest_startup_duration as chunk event, not suite
Diffstat (limited to 'library/python/pytest/plugins')
-rw-r--r-- | library/python/pytest/plugins/ya.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/pytest/plugins/ya.py b/library/python/pytest/plugins/ya.py index 5d8bfb25b9..af4a6ff4d0 100644 --- a/library/python/pytest/plugins/ya.py +++ b/library/python/pytest/plugins/ya.py @@ -862,7 +862,7 @@ class TraceReportGenerator(object): def dump_suite_metrics(self): message = {"metrics": pytest_config.suite_metrics} - self.trace("suite-event", message) + self.trace("chunk_event", message) def on_error(self, test_item): self.trace('chunk_event', {"errors": [(test_item.status, self._get_comment(test_item))]}) |