WithControllerByWebMvcTest

1

tests

0

failures

0

ignored

0.007s

duration

100%

successful

Tests

Test Duration Result
controller에서_thread_id는_같아야한다() 0.007s passed

Standard output

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Could not detect default configuration classes for test class [com.example.base.global.filter.GenerateThreadContextIdFilterTest$WithControllerByWebMvcTest]: WithControllerByWebMvcTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Found @SpringBootConfiguration com.example.base.BaseApplication for test class com.example.base.global.filter.GenerateThreadContextIdFilterTest$WithControllerByWebMvcTest

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Initializing Spring TestDispatcherServlet ''

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Initializing Servlet ''

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Completed initialization in 0 ms

?[30m[TRACE]?[m 06-21 08:18:18 [Test worker] 
 [7034cf7b] Add ipAddress :: 127.0.0.1 and hostName :: localhost to ThreadContext

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [7034cf7b] Response GET /foo text/plain;charset=UTF-8 200

?[30m[TRACE]?[m 06-21 08:18:18 [Test worker] 
 [7034cf7b] Clear ThreadContext

?[30m[TRACE]?[m 06-21 08:18:18 [Test worker] 
 [7034cf7b] Clear ThreadContext