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 d15dffd commit bd2efb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void createWaitingNumberConcurrency() throws InterruptedException {

latch.await(); //다른 스레드에서 수행중인 작업이 완료될 때까지 대기

int waitingCount = shopRepository.findById(savedShop.getId()).orElseThrow()
int waitingCount = shopRepository.findAll().get(0)
.getWaitingCount();

assertEquals(30, waitingCount);
Expand Down

0 comments on commit bd2efb7

Please sign in to comment.