@Test
    public void testHystrixTimeout() {
        providerConfig = defaultServer(2000);
        providerConfig.export();

        consumerConfig = defaultClient()
            .setTimeout(10000);

        HystrixService helloService = consumerConfig.refer();

        try {
            helloService.sayHello("abc", 24);
            Assert.fail();
        } catch (Exception e) {
            Assert.assertTrue(e instanceof SofaRpcException);
            Assert.assertTrue(e.getCause() instanceof HystrixRuntimeException);
        }
    }
@author <a href=mailto:scienjus@gmail.com>ScienJus</a>
test/test-integration/src/test/java/com/alipay/sofa/rpc/hystrix/HystrixFilterSyncTest.java