test change to show difference before and after fix
This commit is contained in:
committed by
Dave Syer
parent
dd94c67f12
commit
1bf4669920
@@ -50,7 +50,7 @@ public class CircuitBreakerResetTimeoutTest {
|
||||
externalService.service("FAIL");
|
||||
}
|
||||
|
||||
private void doCorrectUpload(TestService externalService){
|
||||
private void doCorrectUpload(TestService externalService) {
|
||||
externalService.service("");
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ public class CircuitBreakerResetTimeoutTest {
|
||||
|
||||
private RetryContext context;
|
||||
|
||||
@CircuitBreaker(include = { RuntimeException.class }, resetTimeout = 15000)
|
||||
@CircuitBreaker(include = { RuntimeException.class }, openTimeout = 10000, resetTimeout = 15000)
|
||||
String service(String payload) {
|
||||
this.context = RetrySynchronizationManager.getContext();
|
||||
System.out.println("real service called");
|
||||
|
||||
Reference in New Issue
Block a user