You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
잠금 대기 테스트 helper의 innodb_trx 폴링 간격을 캐시 주기보다 길게 #584
refresh-session.repository.spec.ts의 waitForLockWait가 information_schema.innodb_trx를 20ms 간격으로 읽는다. InnoDB는 직전 읽기 뒤 100ms 안에는 이 캐시를 다시 채우지 않아서, 첫 읽기가 잠금 대기보다 먼저 일어나면 끝까지 대기를 못 볼 수 있다(feat: 노쇼 처리와 주문 자동 전이 크론, 관리자 픽업 완료 #583 작업 중 같은 패턴으로 재현).
테스트 컨테이너는 performance_schema=OFF라 data_lock_waits도 쓸 수 없다.
제안
폴링 간격을 150ms로 늘린다(픽업 변경 spec이 그렇게 했다). 같은 helper를 쓰는 다른 spec도 함께 맞춘다.
Activity