Increase dump_logs time granularity to microseconds #6

Closed
opened 2025-12-28 18:13:48 +00:00 by sami · 1 comment
Owner

Originally created by @abereziny on GitHub (Nov 22, 2022).

Currently some tests can be executed for less than 1 second.
And we analyze logs for each test so sometimes logs can have entries from previous test

According to https://www.freedesktop.org/software/systemd/man/systemd.time.html# and https://docs.docker.com/engine/reference/commandline/logs/ it can be done if we add .%f to the time format here:
https://github.com/nspcc-dev/neofs-testlib-plugin-sbercloud/blob/master/src/neofs_testlib_plugin_sbercloud/sbercloud_host.py#L137,L138

Originally created by @abereziny on GitHub (Nov 22, 2022). Currently some tests can be executed for less than 1 second. And we analyze logs for each test so sometimes logs can have entries from previous test According to https://www.freedesktop.org/software/systemd/man/systemd.time.html# and https://docs.docker.com/engine/reference/commandline/logs/ it can be done if we add `.%f` to the time format here: https://github.com/nspcc-dev/neofs-testlib-plugin-sbercloud/blob/master/src/neofs_testlib_plugin_sbercloud/sbercloud_host.py#L137,L138
sami 2025-12-28 18:13:48 +00:00
Author
Owner

@evgeniiz321 commented on GitHub (Mar 28, 2024):

not relevant with the latest testcases version

@evgeniiz321 commented on GitHub (Mar 28, 2024): not relevant with the latest testcases version
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-testlib#6
No description provided.