Skip to content

Commit

Permalink
Fix a couple of flaky tests in CI (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide authored Feb 3, 2024
1 parent 037090c commit 4050a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/sentry/plug_context_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule Sentry.PlugContextTest do
use Sentry.Case, async: true
use Sentry.Case, async: false
use Plug.Test

setup do
Expand Down
2 changes: 1 addition & 1 deletion test/sentry/test_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ defmodule Sentry.TestTest do
assert {:ok, ""} = Sentry.capture_message("Oops from parent process")

send(child_pid, :go)
assert_receive {:DOWN, ^monitor_ref, _, _, :normal}, 1000
assert_receive {:DOWN, ^monitor_ref, _, _, :normal}, 5000
assert_receive {:done, {:ok, "340"}}, 1000

assert [%Event{} = event] = Test.pop_sentry_reports()
Expand Down

0 comments on commit 4050a18

Please sign in to comment.