Skip to content

Commit 5120195

Browse files
committed
added test coverage for app.java and fixed random to be thread safe #2973
1 parent 3a9de27 commit 5120195

File tree

1 file changed

+0
-1
lines changed
  • rate-limiting-pattern/src/test/java/com/iluwatar/rate/limiting/pattern

1 file changed

+0
-1
lines changed

rate-limiting-pattern/src/test/java/com/iluwatar/rate/limiting/pattern/AppTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ void shouldHandleServiceUnavailableException() throws Exception {
4545
assertEquals(1, AppTestUtils.getFailedRequests().get());
4646
}
4747

48-
4948
@Test
5049
void shouldHandleGenericException() throws Exception {
5150
doThrow(new RuntimeException("Unexpected")).when(mockLimiter).check(any(), any());

0 commit comments

Comments
 (0)