ActuatorStageTest

3

tests

0

failures

0

ignored

0.047s

duration

100%

successful

Tests

Test Method name Duration Result
Staging 환경에서 액추에이터의 http end point는 info, health, health/{*path}만 노출되어야 한다. actuatorWebExposureTest() 0.008s passed
엔드포인트 테스트 healthEndpointTest() 0.023s passed
Info 엔드포인트 테스트 infoEndpointTest() 0.016s passed

Standard output

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

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

?[32m[INFO ]?[m 07-30 13:32:20 [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:20 [Test worker] 
 [] Bootstrapping Spring Data JPA repositories in DEFAULT mode.

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

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

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

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

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

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

?[33m[WARN ]?[m 07-30 13:32:21 [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:21 [Test worker] 
 [] Exposing 2 endpoint(s) beneath base path '/actuator'

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

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

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