From bd2efb7c595ec57c7d42284730a8df45b4ebfaa4 Mon Sep 17 00:00:00 2001 From: hs12 Date: Wed, 17 Jan 2024 19:23:42 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../waiting/service/MemberWaitingServiceIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/prgrms/catchtable/waiting/service/MemberWaitingServiceIntegrationTest.java b/src/test/java/com/prgrms/catchtable/waiting/service/MemberWaitingServiceIntegrationTest.java index 89cf1948..bb025f3b 100644 --- a/src/test/java/com/prgrms/catchtable/waiting/service/MemberWaitingServiceIntegrationTest.java +++ b/src/test/java/com/prgrms/catchtable/waiting/service/MemberWaitingServiceIntegrationTest.java @@ -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);