Skip to content

Commit 4050a18

Browse files
authored
Fix a couple of flaky tests in CI (#688)
1 parent 037090c commit 4050a18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/sentry/plug_context_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Sentry.PlugContextTest do
2-
use Sentry.Case, async: true
2+
use Sentry.Case, async: false
33
use Plug.Test
44

55
setup do

test/sentry/test_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ defmodule Sentry.TestTest do
168168
assert {:ok, ""} = Sentry.capture_message("Oops from parent process")
169169

170170
send(child_pid, :go)
171-
assert_receive {:DOWN, ^monitor_ref, _, _, :normal}, 1000
171+
assert_receive {:DOWN, ^monitor_ref, _, _, :normal}, 5000
172172
assert_receive {:done, {:ok, "340"}}, 1000
173173

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

0 commit comments

Comments
 (0)