Skip to content

Commit

Permalink
Merge pull request #975 from mattrjacobs/reinstate-observable-collaps…
Browse files Browse the repository at this point in the history
…er-stress-test

Reinstate the HystrixObservableCollapserTest stress test
  • Loading branch information
mattrjacobs committed Nov 13, 2015
2 parents 3f7ec00 + dd381cb commit 6ab45a9
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ public void testTwoRequests() throws Exception {
assertEquals(0L, metrics.getRollingCount(HystrixRollingNumberEvent.RESPONSE_FROM_CACHE));
}

@Test
public void stressTestRequestCollapser() throws Exception {
for(int i = 0; i < 100; i++) {
init();
testTwoRequests();
cleanup();
}
}

@Test
public void testTwoRequestsWhichShouldEachEmitTwice() throws Exception {
//TestCollapserTimer timer = new TestCollapserTimer();
Expand Down

0 comments on commit 6ab45a9

Please sign in to comment.