Skip to content

Commit fa68a02

Browse files
committed
Minor changes after review
1 parent f2f2b48 commit fa68a02

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎hystrix/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<java.version>1.8</java.version>
2222

2323
<!-- Hystrix -->
24-
<hystrix-core.version>1.4.10</hystrix-core.version>
24+
<hystrix-core.version>1.5.4</hystrix-core.version>
2525
<rxjava-core.version>0.20.7</rxjava-core.version>
2626

2727
<!-- Testing -->

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
package com.baeldung.hystrix;
22

3-
import com.netflix.hystrix.*;
4-
import com.netflix.hystrix.collapser.RequestCollapserFactory;
3+
import com.netflix.hystrix.HystrixCommand;
4+
import com.netflix.hystrix.HystrixCommandGroupKey;
5+
import com.netflix.hystrix.HystrixCommandProperties;
6+
import com.netflix.hystrix.HystrixThreadPoolProperties;
57
import com.netflix.hystrix.exception.HystrixRuntimeException;
6-
import org.junit.After;
78
import org.junit.Before;
89
import org.junit.Rule;
910
import org.junit.Test;
1011
import org.junit.rules.ExpectedException;
1112

12-
import java.util.concurrent.ExecutionException;
13-
1413
import static org.hamcrest.MatcherAssert.assertThat;
1514
import static org.hamcrest.Matchers.equalTo;
1615

@@ -48,7 +47,7 @@ public void givenServiceTimeoutEqualTo10000_andDefaultSettings_thenExpectHRE() t
4847
}
4948

5049
@Test
51-
public void givenServiceTimeoutEqualTo5000_andExecutionTimeoutEqualTo10000_thenReturnSuccess()
50+
public void givenServiceTimeoutEqualTo500_andExecutionTimeoutEqualTo10000_thenReturnSuccess()
5251
throws InterruptedException {
5352
commandProperties.withExecutionTimeoutInMilliseconds(10_000);
5453
config.andCommandPropertiesDefaults(commandProperties);

0 commit comments

Comments
 (0)