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

HBASE-27857 Fix timeout exception handling in HBaseClassTestRule #5231

Merged

Commits on May 11, 2023

  1. HBASE-27857 Fix timeout exception handling in HBaseClassTestRule.

    HBaseClassTestRule applies a timeout and a system exit rule to tests.
    The timeout rule throws an exception if it hits the timeout threshold.
    Since the timeout rule is applied after the system exit rule, the
    system exit rule does not see the exception and does not re-enable
    the system exit behavior which can cause maven to hang on some
    tests.
    
    This change applies the timeout rule before the system exit rule so
    that normal system exit can be restored before the surefire forked
    node is shutdown.
    
    Signed-off-by: Jonathan Albrecht <jonathan.albrecht@ibm.com>
    jonathan-albrecht-ibm committed May 11, 2023
    Configuration menu
    Copy the full SHA
    4c57860 View commit details
    Browse the repository at this point in the history