pivotal-eshu commented on a change in pull request #5901:
URL: https://github.com/apache/geode/pull/5901#discussion_r567035135
##########
File path:
geode-core/src/test/java/org/apache/geode/internal/cache/tx/PartitionedTXRegionStubTest.java
##########
@@ -139,6 +171,15 @@ public void getEntryReturnsEntryGotFromRemote() throws
Exception {
verify(stub).trackBucketForTx(keyInfo);
}
+ @Test
+ public void isBucketNotFoundExceptionReturnTrue() throws Exception {
+ PartitionedTXRegionStub stub = spy(new
PartitionedTXRegionStub(txStateStub, partitionedRegion));
+ BucketNotFoundException ex = mock(BucketNotFoundException.class);
+ Throwable cause = mock(Throwable.class);
Review comment:
cause is not being used, do you want to add another test case that
BucketNotFoundException was wrapped as a cause?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]