Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve readability of testReadMarkerCompatibility #4759

Merged
merged 3 commits into from
Feb 16, 2025

Conversation

pedrinhoeu
Copy link
Contributor

Improves the readability of the test. Replaces manual exception handling with the testing framework's built-in features (e.g., assertThrows), improving readability, maintainability, and debugging efficiency.


Thank you for contributing to JanusGraph!

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Has your PR been rebased against the latest commit within the target branch (typically master)?
  • Is your initial contribution a single, squashed commit?

Copy link
Member

@li-boxuan li-boxuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@li-boxuan
Copy link
Member

Could you please sign your commit to pass DCO check? https://github.com/JanusGraph/janusgraph/pull/4759/checks?check_run_id=36459918966

Copy link
Member

@porunov porunov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for clean-up! You should also remove unused imports as lint suggested:

Error: /home/runner/work/janusgraph/janusgraph/janusgraph-backend-testutils/src/main/java/org/janusgraph/diskstorage/log/LogTest.java:43:15: Unused import - org.junit.jupiter.api.Assertions.fail. [UnusedImports]

@pedrinhoeu pedrinhoeu changed the title Refactor Refactor Signed-off-by: Pedro Simoes pelusimoes3@gmail.com Feb 4, 2025
@pedrinhoeu pedrinhoeu force-pushed the patch-3 branch 2 times, most recently from 2295dda to ec0f56e Compare February 4, 2025 23:36
@li-boxuan li-boxuan changed the title Refactor Signed-off-by: Pedro Simoes pelusimoes3@gmail.com Improve readability of testReadMarkerCompatibility Feb 6, 2025
pedrinhoeu and others added 3 commits February 12, 2025 22:13
Improves the readability of the test. Replaces manual exception handling with the testing framework's built-in features (e.g., assertThrows), improving readability, maintainability, and debugging efficiency.

Signed-off-by: pedro_Simoes <pelusimoes3@gmail.com>
Signed-off-by: pedro_Simoes <115429183+pedrinhoeu@users.noreply.github.com>
Signed-off-by: pedro_Simoes <pelusimoes3@gmail.com>
Signed-off-by: pedro_Simoes <115429183+pedrinhoeu@users.noreply.github.com>
Signed-off-by: pedro_Simoes <115429183+pedrinhoeu@users.noreply.github.com>
@porunov porunov merged commit 330bd38 into JanusGraph:master Feb 16, 2025
107 checks passed
@porunov porunov added this to the 1.2.0 milestone Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants