Skip to content

Commit

Permalink
test: 테스트에서 스레드 대기 시간 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
zbqmgldjfh committed Jan 15, 2024
1 parent 2b6b38f commit f56860e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void notice_scrap_async_test() throws InterruptedException {

// when
categoryNoticeUpdater.update();
noticeUpdaterThreadTaskExecutor.getThreadPoolExecutor().awaitTermination(1, TimeUnit.SECONDS);
noticeUpdaterThreadTaskExecutor.getThreadPoolExecutor().awaitTermination(2, TimeUnit.SECONDS);
List<Notice> notices = noticeRepository.findAll();

// then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void department_scrap_async_test() throws InterruptedException {

// when
departmentNoticeUpdater.update();
noticeUpdaterThreadTaskExecutor.getThreadPoolExecutor().awaitTermination(1, TimeUnit.SECONDS);
noticeUpdaterThreadTaskExecutor.getThreadPoolExecutor().awaitTermination(3, TimeUnit.SECONDS);
List<DepartmentNotice> notices = departmentNoticeRepository.findAll();


Expand Down

0 comments on commit f56860e

Please sign in to comment.