Skip to content

Instantly share code, notes, and snippets.

@pminten
Created January 18, 2014 10:43
Show Gist options
  • Save pminten/8488792 to your computer and use it in GitHub Desktop.
Save pminten/8488792 to your computer and use it in GitHub Desktop.
A file that mysteriously hangs the compiler
ExUnit.start
defmodule EventServerTest do
use ExUnit.Case, async: false
test "spawn and crash" do
pid = Process.spawn_link(fn ->
exit :foo
end)
:timer.sleep(1000)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment