Merged
Conversation
Closed
1 task
Contributor
Author
|
제가 가끔 force-push 하는 이유가, PR 올려놓고 dev 브랜치 rebase했다가 추가 커밋하면 꼬여가지고.. ㅠ |
Contributor
Author
|
@109an94 github actions 빌드 시 테스트 하나가 계속 실패하는데 봐주실 수 있나요 ㅠㅠ RefresherRunnerTest STANDARD_OUT
[2025-06-07 13:38:16.877] [Test worker] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.cleanengine.coin.realitybot.api.RefresherRunnerTest]: RefresherRunnerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
[2025-06-07 13:38:16.881] [Test worker] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.cleanengine.coin.CoinApplication for test class com.cleanengine.coin.realitybot.api.RefresherRunnerTest
RefresherRunnerTest > 어플리케이션 실행 시 호가 단위 수집 FAILED
Wanted but not invoked:
unitPriceRefresher.run(
<any org.springframework.boot.ApplicationArguments>
);
-> at com.cleanengine.coin.realitybot.api.UnitPriceRefresher.run(UnitPriceRefresher.java:31)
However, there were exactly 2 interactions with this mock:
unitPriceRefresher.getUnitPriceByTicker(
"BTC"
);
-> at com.cleanengine.coin.realitybot.service.OrderGenerateService.generateOrder(OrderGenerateService.java:52)
unitPriceRefresher.getUnitPriceByTicker(
"TRUMP"
);
-> at com.cleanengine.coin.realitybot.service.OrderGenerateService.generateOrder(OrderGenerateService.java:52)
at app//com.cleanengine.coin.realitybot.api.UnitPriceRefresher.run(UnitPriceRefresher.java:31)
at app//com.cleanengine.coin.realitybot.api.RefresherRunnerTest.runwithrefrecher(RefresherRunnerTest.java:22) |
Contributor
|
기능 만드시고 테스트까지 다 하시고 주말에 작업하시느라 고생하셨습니다!! |
Junh-b
approved these changes
Jun 7, 2025
src/main/java/com/cleanengine/coin/trade/application/TradeExecutedNotificationHandler.java
Outdated
Show resolved
Hide resolved
Contributor
|
해당 문제는 제 테스트 코드인 RefresherRunnerTest 가 실행 시 스프링부트 시작할 때 spybean보다 더 빨리 동작되어서 발생하는 문제였던 것 같습니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

✨ 작업내용