Question about Erlang/OTP Test Server and gen_server
Fri Dec 2 10:13:06 CET 2005
Christian Sandén <it4sanc@REDACTED> writes:
> My problem is that the test server doesn't seem to catch on that a
> gen_server has crashed. If I intentionally let the gen_server call an
> undefined function it crashes, as expected, but the test server reports
> the test as a success.
> Is this normal behavior? I would have thought, since the test process
> and the gen_server are linked, that the test server would detect the
> crash and flag it as a failure.
Maybe your test case has finished before EXIT signal from the gen_server
kills it? Or does your test case process trap exits?
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions