|
|
| Author |
Message |
< Erlang patches mailing list ~ gen_stream test suite fix for spurious process count failure |
| jay |
Posted: Thu Jul 15, 2010 5:57 pm |
|
|
|
User
Joined: 06 Sep 2006
Posts: 139
Location: Los Angeles, CA USA
|
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-test-track-procs
I hope this works. I pulled a recent dev, then got jn/gen_stream and
applied it as a patch on top of my dev. My new changes plus the patch are
all bundled into this single commit.
I only changed two files:
lib/stdlib/src/gen_stream.erl
lib/stdlib/test/gen_stream.erl
If you have any trouble, just cherry pick these two files and apply them
on top of jn/gen_stream in pu.
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
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| jay |
Posted: Thu Jul 15, 2010 5:58 pm |
|
|
|
User
Joined: 06 Sep 2006
Posts: 139
Location: Los Angeles, CA USA
|
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-test-track-procs
I hope this works. I pulled a recent dev, then got jn/gen_stream and
applied it as a patch on top of my dev. My new changes plus the patch are
all bundled into this single commit.
I only changed two files:
lib/stdlib/src/gen_stream.erl
lib/stdlib/test/gen_stream.erl
If you have any trouble, just cherry pick these two files and apply them
on top of jn/gen_stream in pu.
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
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|