Skip to content

Conversation

@caniro
Copy link
Contributor

@caniro caniro commented Jun 6, 2025

✨ 작업내용


⚠️ 특별사항

  • 통합 테스트 시 Active Profile에 it를 작성하면 @WorkingServerProfile 로 지정된 ApiSchedulerSchedulerConfig에 주입되지 않는 것 같은데, 저만 그런건지 확인 한번 부탁드립니다.

@caniro caniro requested review from 109an94 and Junh-b June 6, 2025 12:31
@caniro caniro self-assigned this Jun 6, 2025
@investfuture-sonarqube1
Copy link

Failed Quality Gate failed

  • 1 New Issues (is greater than 0)
  • 0.00% Coverage on New Code (is less than 80.00%)

Project ID: CleanEngine_cleanengine-be_2b6f2f63-fa39-426c-b9c7-8aa127fd14d8

View in SonarQube

@caniro caniro linked an issue Jun 6, 2025 that may be closed by this pull request
4 tasks
@Junh-b
Copy link
Contributor

Junh-b commented Jun 6, 2025

주문 생성봇의 시작지점이 ApiScheduler가 아니라 SchedulerConfig로 이동됨에 따라, WorkingServerProfile annotation도 그쪽으로 옮겨져야 하는 것으로 생각되네요.

Copy link
Contributor

@Junh-b Junh-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트 내용을 보니 백그라운드 로직에 영향을 받지 않게 id를 설정하셔서 백그라운드 로직에 의해 테스트가 깨지거나 하는 일은 없을 것 같네요.
그래도 통합테스트를 수행하며 백그라운드 로직이 돌면 약간의 성능이슈가 있을 수 있으니, profile 관련 설정 수정되면 다시 it profile 설정하시는 것이 좋을 것 같습니다.

@caniro caniro merged commit 904c457 into dev Jun 7, 2025
1 check passed
@caniro caniro deleted the feat/user branch June 7, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BE] 사용자 관련 테스트 작성

2 participants