Skip to content

Commit

Permalink
Lengthen command latencies in thread pool max-counter unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jacobs committed Jun 14, 2016
1 parent 364a4bf commit cc75a69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ public void testOneCommandCarriesOverToNextBucket() throws InterruptedException
stream.observe().take(10).subscribe(getSubscriber(latch));

Command cmd1 = Command.from(groupKey, key, HystrixEventType.SUCCESS, 160);
Command cmd2 = Command.from(groupKey, key, HystrixEventType.SUCCESS, 10);
Command cmd3 = Command.from(groupKey, key, HystrixEventType.SUCCESS, 15);
Command cmd2 = Command.from(groupKey, key, HystrixEventType.SUCCESS, 50);
Command cmd3 = Command.from(groupKey, key, HystrixEventType.SUCCESS, 75);

cmd1.observe();
Thread.sleep(150); //bucket roll
Expand Down

0 comments on commit cc75a69

Please sign in to comment.