Skip to content

"Client exit" service test sometimes fails #411

@thecodeboss

Description

@thecodeboss

I occasionally get the following error locally:

  1) test clients exit if they try to use a closed client (Thrift.Generator.ServiceTest)
     test/thrift/generator/service_test.exs:387
     ** (exit) exited in: :gen_server.call(#PID<0.1997.0>, {:call, "friend_ids_of", [<<10, 0, 1, 0, 0, 0, 0, 0, 0, 4, 210>> | <<0>>], []}, 5000)
         ** (EXIT) time out
     code: assert Client.friend_ids_of(client, 1234) == {:error, :closed}
     stacktrace:
       (stdlib) gen_server.erl:214: :gen_server.call/3
       (thrift) lib/thrift/binary/framed/client.ex:207: Thrift.Binary.Framed.Client.call/5
       test/thrift/generator/service_test.exs:392: (test)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions