Skip to content

Commit 1c6fd93

Browse files
committed
modify: 테스트 타임아웃 연장 (임시)
1 parent 206ac7d commit 1c6fd93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/repositories/__test__/integration/leaderboard.repo.integration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { PostLeaderboardSortType, UserLeaderboardSortType } from '@/types';
1212

1313
dotenv.config();
1414

15-
jest.setTimeout(20000); // 각 케이스당 20초 타임아웃 설정
15+
jest.setTimeout(60000); // 각 케이스당 60초 타임아웃 설정
1616

1717
/**
1818
* LeaderboardRepository 통합 테스트
@@ -44,7 +44,7 @@ describe('LeaderboardRepository 통합 테스트', () => {
4444
idleTimeoutMillis: 30000, // 연결 유휴 시간 (30초)
4545
connectionTimeoutMillis: 5000, // 연결 시간 초과 (5초)
4646
allowExitOnIdle: false, // 유휴 상태에서 종료 허용
47-
statement_timeout: 30000,
47+
statement_timeout: 60000, // 쿼리 타임아웃 증가 (60초)
4848
};
4949

5050
// localhost 가 아니면 ssl 필수

0 commit comments

Comments
 (0)