Skip to content

Conversation

@martin-g
Copy link
Member

Jira

Tests

  • My PR improves some unit and IT tests

Commits

  • My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters (not including Jira issue reference)
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

Documentation

  • The new module is documented in its README.md

martin-g added 4 commits May 17, 2022 21:36
Use TestLogger for all tests. Now it delegates to env_logger too

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
@github-actions github-actions bot added the Rust label May 17, 2022
martin-g added 2 commits May 17, 2022 21:56
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
@jklamer
Copy link
Contributor

jklamer commented May 18, 2022

nice! Ill have to pull this locally and break some stuff!

@martin-g
Copy link
Member Author

To test it add a panic!() somewhere in the code or intentionally break some assert_eq!() call, or change the value of RUST_LOG.

@martin-g martin-g merged commit 2c13cd7 into master May 22, 2022
martin-g added a commit that referenced this pull request May 22, 2022
* 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 <mgrigorov@apache.org>

* AVRO-3522: Improve the README

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

* AVRO-3522: Give better names to some methods

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

* AVRO-3522: Make LOG_MESSAGES module-private

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

* AVRO-3522: Add ASL2 to the new files

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

* AVRO-3522: Use pretty_assertions for better diffs when assertions fail

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 2c13cd7)
@martin-g martin-g deleted the avro-3522-better-logging-in-tests branch May 22, 2022 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants