public class RetryBackoffSpecTest
extends java.lang.Object
构造器和说明 |
---|
RetryBackoffSpecTest() |
@Test public void builderMethodsProduceNewInstances()
@Test public void retryContextIsCorrectlyPropagatedAndSet()
@Test public void builderCanBeUsedAsTemplate()
@Test public void throwablePredicateReplacesThePredicate()
@Test public void throwablePredicateModifierAugmentsThePredicate()
@Test public void throwablePredicateModifierWorksIfNoPreviousPredicate()
@Test public void throwablePredicateModifierRejectsNullGenerator()
@Test public void throwablePredicateModifierRejectsNullFunction()
@Test public void doBeforeRetryIsCumulative()
@Test public void doAfterRetryIsCumulative()
@Test public void delayRetryWithIsCumulative()
@Test public void retryThenIsCumulative()
@Test public void retryExceptionDefaultsToRetryExhausted()
@Test public void retryExceptionCanBeCustomized()
@Test public void defaultRetryExhaustedMessageWithNoTransientErrors()
@Test public void defaultRetryExhaustedMessageWithTransientErrors()
@Test public void companionWaitsForAllHooksBeforeTrigger()
@Test public void cumulatedRetryHooks()
@Test public void cumulatedRetryHooksWithTransient()
@Test public void backoffSchedulerDefaultIsLazilyResolved()
@Test public void backoffSchedulerIsEagerlyCaptured()
@Test public void backoffSchedulerNullResetToDefaultSupplier()