Skip to content

πŸ› Fix: KST μžμ •~μ˜€μ „ 9μ‹œμ— CI 클래슀 λ°°ν‹€ ν…ŒμŠ€νŠΈ μ‹€νŒ¨Β #573

Closed

Description

@si-zero

πŸ’‘ Issue Overview

dev ν‘Έμ‹œμ™€ #572 CI μ—μ„œ ClassBattleApiIntegrationTest.classAndGeneral_areIsolated κ°€ μ‹€νŒ¨ν•©λ‹ˆλ‹€. (λ‘œμ»¬μ€ 톡과)

πŸ“ Issue Description

  • ν…ŒμŠ€νŠΈ λ°°ν‹€μ˜ targetDate λ₯Ό μ‹œμŠ€ν…œ μ‹œκ°„λŒ€ κΈ°μ€€ LocalDate.now() 둜 λ§Œλ“€μ§€λ§Œ, μ„œλ²„λŠ” KST κΈ°μ€€μœΌλ‘œ "였늘 λ°°ν‹€"인지 νŒλ‹¨ν•©λ‹ˆλ‹€ (BattleVoteServiceImpl.shouldChargeBattleEntryCredit).
  • CI λŠ” UTC 라 KST 00:00~09:00 μ‚¬μ΄μ—λŠ” λ‚ μ§œκ°€ ν•˜λ£¨ μ–΄κΈ‹λ‚˜κ³ , 일반 μ‚¬μ „νˆ¬ν‘œκ°€ "μ§€λ‚œ λ°°ν‹€"둜 보여 ν¬λ ˆλ”§ 차감을 μ‹œλ„ν•©λ‹ˆλ‹€.
  • ν¬λ ˆλ”§ 차감 쿼리(credit - :amount, 컬럼 μ •μ˜ INT DEFAULT 0)λŠ” H2 μ—μ„œ 문법 였λ₯˜κ°€ λ‚˜μ„œ 500 β†’ ν…ŒμŠ€νŠΈ μ‹€νŒ¨.
  • TZ=UTC 둜 λ‘œμ»¬μ—μ„œ μž¬ν˜„ 확인. 운영(PostgreSQL) λ™μž‘κ³ΌλŠ” λ¬΄κ΄€ν•œ ν…ŒμŠ€νŠΈ λ¬Έμ œμž…λ‹ˆλ‹€.

βœ… To do

  • ν…ŒμŠ€νŠΈ λ°°ν‹€ targetDate λ₯Ό KST κΈ°μ€€μœΌλ‘œ 생성
  • UTC μ‹œκ°„λŒ€λ‘œ 전체 ν…ŒμŠ€νŠΈ 톡과 확인

Activity

  1. added a commit that references this issue on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions