Skip to content

Commit

Permalink
fix : 테스트 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
hyun2371 committed Jan 17, 2024
1 parent b49649b commit 7f8b3dc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ void createWaitingNumberConcurrency() throws InterruptedException {
try {
memberWaitingService.createWaiting(shop.getId(), member, request);
throw new RuntimeException("try문 내부로 도착한다.");
} finally {
} catch (Exception e) {
throw new RuntimeException(e.getMessage());
} finally {
latch.countDown();
}
});
Expand Down

0 comments on commit 7f8b3dc

Please sign in to comment.