File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/main/java/com/example/Jinus/service/userInfo Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ public int getUserDepartmentId(String userId) {
3939 }
4040
4141 // hikariCP test
42- // @Transactional
43- // public void selectCampusIdTest(String userId) throws InterruptedException {
44- // log.info("selectCampusIdTest 시작 - userId: {}", userId);
45- // Thread.sleep(2500); // 커넥션을 5초간 점유 (풀 점유 시 타임아웃 유도)
46- // userRepositoryV2.findCampusIdById(userId);
47- // log.info("selectCampusIdTest 종료 - userId: {}", userId);
48- // }
42+ @ Transactional
43+ public void selectCampusIdTest (String userId ) throws InterruptedException {
44+ log .info ("selectCampusIdTest 시작 - userId: {}" , userId );
45+ Thread .sleep (2500 ); // 커넥션을 5초간 점유 (풀 점유 시 타임아웃 유도)
46+ userRepositoryV2 .findCampusIdById (userId );
47+ log .info ("selectCampusIdTest 종료 - userId: {}" , userId );
48+ }
4949}
You can’t perform that action at this time.
0 commit comments