Skip to content

Instantly share code, notes, and snippets.

@Hajto
Created October 30, 2016 17:34
Show Gist options
  • Save Hajto/ebf4744314e94cb8a5a666330c459910 to your computer and use it in GitHub Desktop.
Save Hajto/ebf4744314e94cb8a5a666330c459910 to your computer and use it in GitHub Desktop.
......
1) test Joins and receives a color (EveryColor.ColorSocketTest)
test/channels/color_socket_test.exs:6
No message matching %Phoenix.Socket.Reply{ref: ^ref, status: :ok, payload: %{color: _}} after 100ms.
The following variables were pinned:
ref = %Phoenix.Socket{assigns: %{some: :assign}, channel: EveryColor.DistributionChannel, channel_pid: #PID<0.829.0>, endpoint: EveryColor.Endpoint, handler: nil, id: "user_id", joined: true, pubsub_server: EveryColor.PubSub, ref: nil, serializer: Phoenix.ChannelTest.NoopSerializer, topic: "colors", transport: Phoenix.ChannelTest, transport_name: :channel_test, transport_pid: #PID<0.827.0>}
Process mailbox:
%Phoenix.Socket.Message{event: "color_generated", payload: %{color: 0}, ref: nil, topic: "colors"}
stacktrace:
test/channels/color_socket_test.exs:11: (test)
...
Finished in 0.7 seconds
10 tests, 1 failure
Randomized with seed 697996
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment