Skip to content

Commit 888554a

Browse files
author
sbalachandran
committed
Few formatting changes.
1 parent 13f006e commit 888554a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

hystrix/src/test/java/com/baeldung/hystrix/HystrixTimeoutTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public void givenSvcTimeoutOf100AndDefaultSettings_whenExecuted_thenReturnSucces
2525
HystrixCommand.Setter config = HystrixCommand
2626
.Setter
2727
.withGroupKey(HystrixCommandGroupKey.Factory.asKey("RemoteServiceGroup2"));
28+
2829
assertThat(new RemoteServiceTestCommand(config, new RemoteServiceTestSimulator(100)).execute(),
2930
equalTo("Success"));
3031
}
@@ -89,7 +90,7 @@ public void givenCircuitBreakerSetup__whenRemoteSvcCmdExecuted_thenReturnSuccess
8990

9091
HystrixCommand.Setter config = HystrixCommand
9192
.Setter
92-
.withGroupKey(HystrixCommandGroupKey.Factory.asKey("RemoteServiceGroupCircuitBreakerTest"));
93+
.withGroupKey(HystrixCommandGroupKey.Factory.asKey("RemoteServiceGroupCircuitBreaker"));
9394
HystrixCommandProperties.Setter commandProperties = HystrixCommandProperties.Setter();
9495
commandProperties.withExecutionTimeoutInMilliseconds(1000);
9596

@@ -119,7 +120,8 @@ public void givenCircuitBreakerSetup__whenRemoteSvcCmdExecuted_thenReturnSuccess
119120
equalTo("Success"));
120121
}
121122

122-
public String invokeRemoteService(HystrixCommand.Setter config, int timeout) throws InterruptedException {
123+
public String invokeRemoteService(HystrixCommand.Setter config, int timeout)
124+
throws InterruptedException {
123125
String response = null;
124126
try {
125127
response = new RemoteServiceTestCommand(config,

0 commit comments

Comments
 (0)