Skip to content

test "new annotations triggers InfoSys" fails #1

@charleshan

Description

@charleshan

It seems like the reaon it's failing is because @http Application.get_env(:info_sys, :wolfram)[:http_client] || :httpc is returning the :httpc option when I run tests from rumbl umbrella app.

$ mix test
==> info_sys
....

Finished in 0.1 seconds
4 tests, 0 failures

Randomized with seed 250210
==> rumbl
............................

  1) test new annotations triggers InfoSys (Rumbl.Channels.VideoChannelTest)
     test/channels/video_channel_test.exs:32
     No message matching %Phoenix.Socket.Broadcast{event: "new_annotation", payload: %{body: "2", at: 123}} after 100ms.
     Process mailbox:
       %Phoenix.Socket.Message{event: "new_annotation", payload: %{at: 123, body: "1 + 1", id: 94, user: %{id: 568, username: "user4CAB69827EA3D983"}}, ref: nil, topic: "videos:252"}
     stacktrace:
       test/channels/video_channel_test.exs:37: (test)

.......

Finished in 0.6 seconds
36 tests, 1 failure

Randomized with seed 505551

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions