From e73d9c8a009ea24a7833c44239de55364ddb7103 Mon Sep 17 00:00:00 2001 From: Matt Jacobs Date: Thu, 30 Apr 2015 06:32:43 -0700 Subject: [PATCH] Shorten stress test of HystrixObservableCollapser from 1000 -> 100 to limit OOM problems --- .../com/netflix/hystrix/HystrixObservableCollapserTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hystrix-core/src/test/java/com/netflix/hystrix/HystrixObservableCollapserTest.java b/hystrix-core/src/test/java/com/netflix/hystrix/HystrixObservableCollapserTest.java index f74dea763..c208cfb68 100644 --- a/hystrix-core/src/test/java/com/netflix/hystrix/HystrixObservableCollapserTest.java +++ b/hystrix-core/src/test/java/com/netflix/hystrix/HystrixObservableCollapserTest.java @@ -80,7 +80,7 @@ public void testTwoRequests() throws Exception { @Test public void stressTestRequestCollapser() throws Exception { - for(int i = 0; i < 1000; i++) { + for(int i = 0; i < 100; i++) { init(); testTwoRequests(); cleanup();