mirror of
https://github.com/nspcc-dev/neofs-testlib.git
synced 2026-03-01 04:29:25 +00:00
Skip console output logging for dump_logs command #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @abereziny on GitHub (Nov 2, 2022).
Originally assigned to: @abereziny on GitHub.
Console output for node logs from dump_logs command have no practical use and uses too much time in CI system.
It will be nice to skip it
Code of interest:
https://github.com/nspcc-dev/neofs-testlib-plugin-sbercloud/blob/master/src/neofs_testlib_plugin_sbercloud/sbercloud_host.py#L143
https://github.com/nspcc-dev/neofs-testlib/blob/master/src/neofs_testlib/shell/ssh_shell.py#L58
Proposal is to add
no_console: bool = Falseoption tohttps://github.com/nspcc-dev/neofs-testlib/blob/master/src/neofs_testlib/shell/interfaces.py#L35
and use it like
https://github.com/nspcc-dev/neofs-testlib/blob/master/src/neofs_testlib/shell/ssh_shell.py#L39
@abereziny commented on GitHub (Nov 2, 2022):
@vdomnich-yadro Could you please review this idea?
@abereziny commented on GitHub (Nov 18, 2022):
Can be closed as fixed