Skip to content

Flaky test failure #980

@solnic

Description

@solnic

Description

Run mix test
Compiling 21 files (.ex)
Generated sentry app
Wrote 90 files in 498.09 kb to: _build/test/lib/sentry/priv/sentry.map
Running ExUnit with seed: 476905, max_cases: 8

.....................................................................................................................................................................................................................................................................................................................................................................................................................

  1) test send_event/2 uses the async sender pool when :result is :none (Sentry.ClientTest)
Error:      test/sentry/client_test.exs:378
     Assertion failed, no matching message after 5000ms
     The following variables were pinned:
       ref = #Reference<0.4108024795.1505230851.237813>
     The process mailbox is empty.
     code: assert_receive {^ref, body}
     stacktrace:
       test/sentry/client_test.exs:393: anonymous fn/1 in Sentry.ClientTest."test send_event/2 uses the async sender pool when :result is :none"/1
       (elixir 1.18.4) lib/stream.ex:1505: Stream.do_repeatedly/3
       (elixir 1.18.4) lib/stream.ex:1773: Enumerable.Stream.do_each/4
       (elixir 1.18.4) lib/enum.ex:4621: Enum.slice_enum/5
       (elixir 1.18.4) lib/enum.ex:479: Enum.at/3
       test/sentry/client_test.exs:400: (test)

...............................................................................................................................
Finished in 18.9 seconds (2.8s async, 16.0s sync)
15 doctests, 518 tests, 1 failure
Error: Process completed with exit code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions