test: 버킷 상태 모니터링 Service/Controller 단위 테스트 추가

getDualManager()를 protected로 변경하여 서브클래스 오버라이드 방식으로 mock 주입

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
curry772
2026-04-29 15:15:18 +09:00
parent 5f24bacd48
commit 2eeee58d35
4 changed files with 528 additions and 2 deletions
@@ -78,7 +78,7 @@ public class InflowTargetBucketService {
// Private helpers
// -------------------------------------------------------------------------
private DualInflowControlManager getDualManager() {
protected DualInflowControlManager getDualManager() {
InflowControlManager base = InflowControlManager.getInstance();
return (base instanceof DualInflowControlManager) ? (DualInflowControlManager) base : null;
}