Permalink
Browse files

Finally caught the cause to why the tests where failing etc.

The tests where run in parallell sometimes, using strict ordering here!
  • Loading branch information...
1 parent 1134314 commit 54cdf0da9ac3a62d339a35ce10cc5c5bb3d53a1f Gianfranco Alongi committed Mar 24, 2012
Showing with 7 additions and 5 deletions.
  1. +7 −5 Three/Solution/test/pubsub_pipes_tests.erl
@@ -6,11 +6,13 @@ pipe_test_() ->
{foreach,
fun setup/0,
fun cleanup/1,
- [
- fun create_pipe/0,
- fun register_on_pipe/0,
- fun deregister_from_pipe/0,
- fun publish_message_on_pipe/0
+ [
+ {inorder,[
+ fun create_pipe/0,
+ fun register_on_pipe/0,
+ fun deregister_from_pipe/0,
+ fun publish_message_on_pipe/0
+ ]}
]}.
setup() ->

0 comments on commit 54cdf0d

Please sign in to comment.