You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/17 18:38:00 UTC

[jira] [Commented] (AVRO-3522) Rust: Setup better logging and colored stacktraces for the tests

    [ https://issues.apache.org/jira/browse/AVRO-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538398#comment-17538398 ] 

ASF subversion and git services commented on AVRO-3522:
-------------------------------------------------------

Commit fdbfd6f11df5db7bd105f773d9f33a5221bd5405 in avro's branch refs/heads/avro-3522-better-logging-in-tests from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=fdbfd6f11 ]

AVRO-3522: Use ctor crate to setup/teardown tests

Use TestLogger for all tests. Now it delegates to env_logger too

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>


> Rust: Setup better logging and colored stacktraces for the tests
> ----------------------------------------------------------------
>
>                 Key: AVRO-3522
>                 URL: https://issues.apache.org/jira/browse/AVRO-3522
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: rust
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Minor
>
> Extract the custom TestLogger (that collects and asserts on the logs) used in types.rs into a new module/crate so that it could be reused everywhere.
> An additional improvement that could be made is to add env_logger as a delegate to it so that it also logs to stderr.
>  
> Use ctor crate to simulate before_all/after_all.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)