slfan1989 opened a new pull request, #1554:
URL: https://github.com/apache/ratis/pull/1554
## What changes were proposed in this pull request?
This pull request ensures that `BlockRequestHandlingInjection` is always
cleared after the gRPC and Netty load tests.
Previously, `unblockAll()` was called only after `super.testWithLoad()`
completed successfully. If the load test threw an exception or was interrupted
by a timeout, the cleanup was skipped, potentially leaving process-wide
request-blocking state that could affect subsequent tests.
## What is the link to the Apache JIRA
RATIS-2660. Always clear BlockRequestHandlingInjection after load tests.
## How was this patch tested?
* `TestRaftWithGrpc.testWithLoad`
* Tests run: 2
* Failures: 0
* Errors: 0
* `TestRaftWithNetty.testWithLoad`
* Tests run: 1
* Failures: 0
* Errors: 0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]