ActuatorLocalTest

3

tests

0

failures

0

ignored

1.463s

duration

100%

successful

Tests

Test Method name Duration Result
Local 환경에서 액추에이터의 http end point는 info, health, metric만 노출되어야 한다. actuatorWebExposureTest() 0.816s passed
엔드포인트 테스트 healthEndpointTest() 0.630s passed
Info 엔드포인트 테스트 infoEndpointTest() 0.017s passed

Standard output

?[32m[INFO ]?[m 07-30 13:32:10 [Test worker] 
 [] Could not detect default configuration classes for test class [com.github.can019.api.health.ActuatorLocalTest]: ActuatorLocalTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.

?[32m[INFO ]?[m 07-30 13:32:10 [Test worker] 
 [] Found @SpringBootConfiguration com.github.can019.BaseApplication for test class com.github.can019.api.health.ActuatorLocalTest

?[32m[INFO ]?[m 07-30 13:32:10 [Test worker] 
 [] Restart disabled due to context in which it is running


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
?[32m :: Spring Boot :: ?[39m              ?[2m (v3.2.5)?[0;39m

?[32m[INFO ]?[m 07-30 13:32:13 [Test worker] 
 [] Bootstrapping Spring Data JPA repositories in DEFAULT mode.

?[32m[INFO ]?[m 07-30 13:32:13 [Test worker] 
 [] Finished Spring Data repository scanning in 26 ms. Found 0 JPA repository interfaces.

?[32m[INFO ]?[m 07-30 13:32:14 [Test worker] 
 [] Tomcat initialized with port 0 (http)

?[32m[INFO ]?[m 07-30 13:32:14 [Test worker] 
 [] Root WebApplicationContext: initialization completed in 2852 ms

?[32m[INFO ]?[m 07-30 13:32:15 [Test worker] 
 [] H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:local'

?[32m[INFO ]?[m 07-30 13:32:16 [Test worker] 
 [] No LoadTimeWeaver setup: ignoring JPA class transformer

?[32m[INFO ]?[m 07-30 13:32:16 [Test worker] 
 [] Initialized JPA EntityManagerFactory for persistence unit 'default'

?[33m[WARN ]?[m 07-30 13:32:17 [Test worker] 
 [] spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning

?[32m[INFO ]?[m 07-30 13:32:18 [Test worker] 
 [] Exposing 3 endpoint(s) beneath base path '/actuator'

?[32m[INFO ]?[m 07-30 13:32:18 [Test worker] 
 [] Tomcat started on port 43283 (http) with context path ''

?[32m[INFO ]?[m 07-30 13:32:19 [http-nio-auto-1-exec-1] 
 [] Initializing Servlet 'dispatcherServlet'

?[32m[INFO ]?[m 07-30 13:32:19 [http-nio-auto-1-exec-1] 
 [] Completed initialization in 2 ms

Standard error

WARNING: A Java agent has been loaded dynamically (/home/runner/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.14.13/979ce25f7d3096a2e82214ba7dc972a05ce7a171/byte-buddy-agent-1.14.13.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