Skip to content

Commit 1e9729d

Browse files
committed
[Fix] build.test 오류 수정
1 parent eef3202 commit 1e9729d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/com/example/Jinus/service/userInfo/UserService.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)