diff --git a/hystrix/src/main/resources/application.properties b/hystrix/src/main/resources/application.properties index e69de29..70c0501 100644 --- a/hystrix/src/main/resources/application.properties +++ b/hystrix/src/main/resources/application.properties @@ -0,0 +1,2 @@ +# This way you get to see the exceptions when the fallback is accessed +logging.level.com.netflix.hystrix.AbstractCommand: DEBUG \ No newline at end of file diff --git a/hystrix/src/test/java/demo/HystrixApplicationTests.java b/hystrix/src/test/java/demo/HystrixApplicationTests.java index 9c92f70..de6f0b1 100644 --- a/hystrix/src/test/java/demo/HystrixApplicationTests.java +++ b/hystrix/src/test/java/demo/HystrixApplicationTests.java @@ -2,11 +2,9 @@ package demo; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; import org.junit.Test; import org.junit.runner.RunWith; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplicationConfiguration;