[ovs-dev] [PATCH v3 1/2] pmd.at: Get next line number of log.
Ilya Maximets
i.maximets at ovn.org
Thu Jun 24 20:14:22 UTC 2021
On 6/24/21 3:20 PM, Kevin Traynor wrote:
> Some tests get the current log line number so they can check that
> there is a new occurance of a log entry after a command.
>
> 'tail' uses the line number as the starting line number. However,
> this will include the last line of the log before the command.
>
> To prevent any races on logs and possibly checking an existing log
> entry prior to a command here or in reuse of this method, get the
> next line number of the log and use that as the starting line for tail.
>
> Suggested-by: Ilya Maximets <i.maximets at ovn.org>
> Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
> ---
> v3: newly added from Ilya comment on alb.at
> ---
> tests/pmd.at | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied. Thanks!
Best regards, Ilya Maximets.
More information about the dev
mailing list