gen_stream test suite fix available
jay@REDACTED
jay@REDACTED
Fri Jul 16 08:26:10 CEST 2010
I changed the test suite for gen_stream to not rely on
erlang:system_info(process_count). Instead I exposed the processes using
a new interface and check the actual number processes returned by the
gen_stream server.
git fetch git://github.com/jaynel/otp.git gen_stream
I started with dev, then got jn/gen_stream and
applied it as a patch on top of my dev and committed.
The new changes are a second commit on this new branch.
I only changed two files:
lib/stdlib/src/gen_stream.erl
lib/stdlib/test/gen_stream_SUITE.erl
If you have any trouble, just cherry pick these two files and apply them
on top of your jn/gen_stream. I will continue working on the gen_stream
branch.
This fixes the spurious random failures. It does not attempt to address
the failure caused in the shell test suite. I think I know how to track
that one down and hope to get to it in the next few days.
jay
More information about the erlang-patches
mailing list