fix timeout tests #8

Closed
opened 2021-02-14 16:31:27 +03:00 by vtolstov · 1 comment
vtolstov commented 2021-02-14 16:31:27 +03:00 (Migrated from github.com)
=== RUN   TestApiTimeout
{"caller":"logger/micro.go:174","level":"info","msg":"Server [grpc] Listening on [::]:36755","timestamp":"2021-02-12 20:31:48"}
{"caller":"logger/micro.go:174","level":"info","msg":"Register [memory] Registering node: foo-ed5dde68-877b-43dd-a3ce-54d647495b7f","timestamp":"2021-02-12 20:31:48"}
    router_test.go:128: invalid message received, parsing error {"Id":"go.micro.client","Code":500,"Detail":"context deadline exceeded","Status":"Internal Server Error"} != {"Id":"go.micro.client","Code":408,"Detail":"context deadline exceeded","Status":"Request Timeout"}
{"caller":"logger/micro.go:174","level":"info","msg":"Deregistering node: foo-ed5dde68-877b-43dd-a3ce-54d647495b7f","timestamp":"2021-02-12 20:31:50"}
2021/02/12 20:31:50 http: Server closed
{"caller":"logger/micro.go:174","level":"error","msg":"unable to get foo service: service not found","timestamp":"2021-02-12 20:31:50"}
{"caller":"logger/micro.go:174","level":"info","msg":"Broker [memory] Disconnected from ","timestamp":"2021-02-12 20:31:51"}
--- FAIL: TestApiTimeout (3.00s)
``` === RUN TestApiTimeout {"caller":"logger/micro.go:174","level":"info","msg":"Server [grpc] Listening on [::]:36755","timestamp":"2021-02-12 20:31:48"} {"caller":"logger/micro.go:174","level":"info","msg":"Register [memory] Registering node: foo-ed5dde68-877b-43dd-a3ce-54d647495b7f","timestamp":"2021-02-12 20:31:48"} router_test.go:128: invalid message received, parsing error {"Id":"go.micro.client","Code":500,"Detail":"context deadline exceeded","Status":"Internal Server Error"} != {"Id":"go.micro.client","Code":408,"Detail":"context deadline exceeded","Status":"Request Timeout"} {"caller":"logger/micro.go:174","level":"info","msg":"Deregistering node: foo-ed5dde68-877b-43dd-a3ce-54d647495b7f","timestamp":"2021-02-12 20:31:50"} 2021/02/12 20:31:50 http: Server closed {"caller":"logger/micro.go:174","level":"error","msg":"unable to get foo service: service not found","timestamp":"2021-02-12 20:31:50"} {"caller":"logger/micro.go:174","level":"info","msg":"Broker [memory] Disconnected from ","timestamp":"2021-02-12 20:31:51"} --- FAIL: TestApiTimeout (3.00s) ```
vtolstov commented 2022-03-21 14:29:57 +03:00 (Migrated from github.com)

not happened now

not happened now
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/micro-tests#8
No description provided.