 
   test "Crashing GenServer with exit", %{fake_transaction: fake_transaction} do
     CrashingGenServer.start(:exit)
+
+    Process.sleep(@process_monitor_delay)
 
     [{_, reason, message, stacktrace}] =
       until(fn ->

  test "Crashing GenServer with throw", %{fake_transaction: fake_transaction} do
    CrashingGenServer.start(:throw)

    [{_, reason, message, stacktrace}] =
      until(fn ->
        assert [{_, _, _, _}] = FakeTransaction.errors(fake_transaction)

      end
    end)

    Process.sleep(@process_monitor_delay)

    [{_, reason, message, stacktrace}] =
      until(fn ->
        assert [{_, _, _, _}] = FakeTransaction.errors(fake_transaction)
