public class DatabaseClusterLockRenewTest extends Object
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
expectedException |
org.mockito.junit.MockitoRule |
mockitoRule |
| Constructor and Description |
|---|
DatabaseClusterLockRenewTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testRenew_errorOnReacquireOnLostRemoteOwnership() |
void |
testRenew_failedReacquireOnLostRemoteOwnership() |
void |
testRenew_finishQuietlyWhenInterrupted() |
void |
testRenew_HappyPath() |
void |
testRenew_InterceptGeneralDaoError() |
void |
testRenew_reportDeadOwner() |
void |
testRenew_successfulReacquireOnLostRemoteOwnership() |
public org.junit.rules.ExpectedException expectedException
public org.mockito.junit.MockitoRule mockitoRule
public void tearDown()
public void testRenew_HappyPath()
public void testRenew_reportDeadOwner()
throws InterruptedException
InterruptedExceptionpublic void testRenew_finishQuietlyWhenInterrupted()
throws InterruptedException
InterruptedExceptionpublic void testRenew_successfulReacquireOnLostRemoteOwnership()
public void testRenew_failedReacquireOnLostRemoteOwnership()
public void testRenew_errorOnReacquireOnLostRemoteOwnership()
public void testRenew_InterceptGeneralDaoError()
Copyright © 2019 Atlassian. All rights reserved.