Skip to content

Commit 478c211

Browse files
author
Mike Cowan
committed
Removing change to BasicDefaultIgnoreExceptionsTest
1 parent 12d19bd commit 478c211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hystrix-contrib/hystrix-javanica/src/test/java/com/netflix/hystrix/contrib/javanica/test/common/error/BasicDefaultIgnoreExceptionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void testCommandOverridesDefaultIgnoreExceptions() {
3333
service.commandOverridesDefaultIgnoreExceptions(SpecificException.class);
3434
}
3535

36-
@Test(expected = HystrixRuntimeException.class)
36+
@Test(expected = BadRequestException.class)
3737
public void testCommandOverridesDefaultIgnoreExceptions_nonIgnoreExceptionShouldBePropagated() {
3838
// method throws BadRequestException that isn't ignored
3939
service.commandOverridesDefaultIgnoreExceptions(BadRequestException.class);

0 commit comments

Comments
 (0)