Skip to content

Commit f25d6e8

Browse files
wojciech.piotrowiakDave Syer
authored andcommitted
test change to show difference before and after fix
1 parent 109d9f9 commit f25d6e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/springframework/retry/annotation/CircuitBreakerResetTimeoutTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private void doFailedUpload(TestService externalService) {
5050
externalService.service("FAIL");
5151
}
5252

53-
private void doCorrectUpload(TestService externalService){
53+
private void doCorrectUpload(TestService externalService) {
5454
externalService.service("");
5555
}
5656

@@ -67,7 +67,7 @@ static class TestService {
6767

6868
private RetryContext context;
6969

70-
@CircuitBreaker(include = { RuntimeException.class }, resetTimeout = 15000)
70+
@CircuitBreaker(include = { RuntimeException.class }, openTimeout = 10000, resetTimeout = 15000)
7171
String service(String payload) {
7272
this.context = RetrySynchronizationManager.getContext();
7373
System.out.println("real service called");

0 commit comments

Comments
 (0)