Gradle Test Run :bootstrap:test

error_endpoint_treats_missing_status_attribute_as_500()

summary

1

tests

0

failures

0

skipped

0.579s

duration

100%

successful

standard output

2026-05-12T15:59:36.143+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 
2026-05-12T15:59:36.143+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet '' 
2026-05-12T15:59:36.145+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms 
2026-05-12T15:59:36.197+09:00 DEBUG 3742337 --- [    Test worker] [traceId=6a1a5f293239553d3021d05ea8a47104] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.config.web.ApiErrorController#error(HttpServletRequest) 
2026-05-12T15:59:36.207+09:00 ERROR 3742337 --- [    Test worker] [traceId=6a1a5f293239553d3021d05ea8a47104] c.p.auth.config.web.ApiErrorController   : Unhandled error response. method=GET requestPath=/error status=500 
2026-05-12T15:59:36.256+09:00 DEBUG 3742337 --- [    Test worker] [traceId=6a1a5f293239553d3021d05ea8a47104] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml] 
2026-05-12T15:59:36.261+09:00 DEBUG 3742337 --- [    Test worker] [traceId=6a1a5f293239553d3021d05ea8a47104] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ApiResult[success=false, code=COMMON-999, message=예상하지 못한 오류가 발생했습니다., data=null, errors=null, trace (truncated)...] 

error output

Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3
WARNING: A Java agent has been loaded dynamically (/home/donghyeon/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.17.8/f09415827a71be7ed621c7bd02550678f28bc81c/byte-buddy-agent-1.17.8.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release