Browse Source

Delete obsolete test code

pull/35990/head
Sam Brannen 1 week ago
parent
commit
2643c6212f
  1. 2
      spring-core/src/test/java/org/springframework/core/retry/support/CompositeRetryListenerTests.java

2
spring-core/src/test/java/org/springframework/core/retry/support/CompositeRetryListenerTests.java

@ -16,7 +16,6 @@
package org.springframework.core.retry.support; package org.springframework.core.retry.support;
import java.time.Duration;
import java.util.List; import java.util.List;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
@ -105,7 +104,6 @@ class CompositeRetryListenerTests {
@Test @Test
void onRetryPolicyTimeout() { void onRetryPolicyTimeout() {
Duration elapsedTime = Duration.ofMillis(100);
RetryException exception = new RetryException("", new Exception()); RetryException exception = new RetryException("", new Exception());
compositeRetryListener.onRetryPolicyTimeout(retryPolicy, retryable, exception); compositeRetryListener.onRetryPolicyTimeout(retryPolicy, retryable, exception);

Loading…
Cancel
Save