Gradle Test Run :bootstrap:test
framework_thrown_4xx_status_preserves_status_and_maps_to_unhandled_client_error()
summary
|
100%
successful |
standard output
2026-05-12T15:59:43.128+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-12T15:59:43.128+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-12T15:59:43.129+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2026-05-12T15:59:43.132+09:00 DEBUG 3742337 --- [ Test worker] [traceId=53b4a7472e2fad0cd2b36ad0084b6cd6] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController#frameworkThrown4xx() 2026-05-12T15:59:43.133+09:00 DEBUG 3742337 --- [ Test worker] [traceId=53b4a7472e2fad0cd2b36ad0084b6cd6] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.RequestExceptionHandler#handleErrorResponseException(ErrorResponse, HttpServletRequest) 2026-05-12T15:59:43.134+09:00 WARN 3742337 --- [ Test worker] [traceId=53b4a7472e2fad0cd2b36ad0084b6cd6] c.p.a.p.s.e.RequestExceptionHandler : Framework-thrown 4xx status. method=GET requestPath=/test-support/conflict status=409 errorCode=PRES-013 2026-05-12T15:59:43.134+09:00 DEBUG 3742337 --- [ Test worker] [traceId=53b4a7472e2fad0cd2b36ad0084b6cd6] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml] 2026-05-12T15:59:43.134+09:00 DEBUG 3742337 --- [ Test worker] [traceId=53b4a7472e2fad0cd2b36ad0084b6cd6] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ApiResult[success=false, code=PRES-013, message=처리하지 못한 클라이언트 오류입니다., data=null, errors=null, traceI (truncated)...] 2026-05-12T15:59:43.135+09:00 DEBUG 3742337 --- [ Test worker] [traceId=53b4a7472e2fad0cd2b36ad0084b6cd6] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.server.ResponseStatusException: 409 CONFLICT]