Class io.micronaut.discovery.consul.ClientScopeSpec

2

tests

0

failures

1

ignored

3.794s

duration

100%

successful

Tests

Test Duration Result
test that a client can be discovered using @Client scope 3.794s passed
test that a client can be discovered using @Client scope with Consul - ignored

Standard output

00:18:40.751 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:40.753 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:40.891 [Test worker] DEBUG i.m.h.server.netty.NettyHttpServer - Binding server to port: 25213
00:18:40.904 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:40.906 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:41.076 [Test worker] DEBUG i.m.h.server.netty.NettyHttpServer - Binding server to port: 51899
00:18:41.187 [nioEventLoopGroup-7-3] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/agent/service/register
00:18:41.196 [nioEventLoopGroup-7-3] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(25213)
00:18:41.197 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:41.197 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:41.198 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:41.198 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:41.198 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - content-length: 134
00:18:41.199 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:41.199 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:41.199 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - {"Name":"message-service","Address":"localhost","Port":51899,"Checks":[{"Status":"passing","TTL":"25s"}],"ID":"message-service:51899"}
00:18:41.200 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:41.206 [nioEventLoopGroup-6-3] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:25213 Received Request: PUT /v1/agent/service/register
00:18:41.206 [nioEventLoopGroup-6-3] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/agent/service/register
00:18:41.210 [nioEventLoopGroup-6-3] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route PUT - /v1/agent/service/register to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:41.332 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/agent/service/register
00:18:41.332 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:41.333 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:41.333 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:41.333 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:41.333 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:41.333 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:41.338 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - [OK]
00:18:41.340 [nioEventLoopGroup-7-3] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:41.343 [nioEventLoopGroup-7-3] INFO  i.m.d.registration.AutoRegistration - Registered service [message-service] with Consul
00:18:44.187 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:44.189 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:44.345 [nioEventLoopGroup-8-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: GET /v1/health/service/message-service?passing=false
00:18:44.346 [nioEventLoopGroup-8-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(25213)
00:18:44.347 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:44.347 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:44.349 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:44.349 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:44.352 [nioEventLoopGroup-6-4] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:25213 Received Request: GET /v1/health/service/message-service?passing=false
00:18:44.353 [nioEventLoopGroup-6-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route GET - /v1/health/service/message-service
00:18:44.353 [nioEventLoopGroup-6-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route GET - /v1/health/service/message-service to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:44.406 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: GET /v1/health/service/message-service?passing=false
00:18:44.406 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:44.406 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:44.407 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 274
00:18:44.407 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:44.407 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:44.407 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:44.407 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - [{"Node":{"Node":"f3db2459-94fe-435e-8e0d-f8a743edfcaf","Address":"travis-job-a660849b-dd9d-4605-8c3b-a79f5987bb08"},"Service":{"ID":"message-service:51899","Name":"message-service","Address":"localhost","Port":51899},"Checks":[{"Id":"message-service","Status":"passing"}]}]
00:18:44.407 [nioEventLoopGroup-8-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:44.448 [nioEventLoopGroup-8-4] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: GET /message/value
00:18:44.449 [nioEventLoopGroup-8-4] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51899)
00:18:44.449 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:44.450 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:44.454 [nioEventLoopGroup-7-4] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51899 Received Request: GET /message/value
00:18:44.454 [nioEventLoopGroup-7-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route GET - /message/value
00:18:44.455 [nioEventLoopGroup-7-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route GET - /message/value to controller class io.micronaut.discovery.consul.ClientScopeSpec$MessageController
00:18:44.475 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: GET /message/value
00:18:44.475 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:44.475 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:44.475 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 12
00:18:44.475 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:44.475 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:44.475 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:44.476 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - Server 51899
00:18:44.476 [nioEventLoopGroup-8-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:44.504 [nioEventLoopGroup-7-12] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/agent/service/deregister/message-service%3A51899
00:18:44.507 [nioEventLoopGroup-7-12] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(25213)
00:18:44.508 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:44.508 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:44.509 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:44.509 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:44.510 [nioEventLoopGroup-6-5] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:25213 Received Request: PUT /v1/agent/service/deregister/message-service%3A51899
00:18:44.511 [nioEventLoopGroup-6-5] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/agent/service/deregister/message-service%3A51899
00:18:44.511 [nioEventLoopGroup-6-5] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route PUT - /v1/agent/service/deregister/message-service%3A51899 to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:44.520 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/agent/service/deregister/message-service%3A51899
00:18:44.520 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:44.520 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:44.521 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:44.521 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:44.521 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:44.521 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:44.521 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - [OK]
00:18:44.522 [nioEventLoopGroup-7-12] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:44.522 [Test worker] INFO  i.m.d.registration.AutoRegistration - De-registered service [message-service] with Consul