Browse Source

aid debugging in gproc_conf_test

Ulf Wiger 11 years ago
parent
commit
59199d700f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/gproc_tests.erl

+ 2 - 1
test/gproc_tests.erl

@@ -25,6 +25,7 @@
 conf_test_() ->
     {foreach,
      fun() ->
+             application:stop(gproc),
 	     application:unload(gproc)
      end,
      fun(_) ->
@@ -36,7 +37,7 @@ conf_test_() ->
 t_server_opts() ->
     H = 10000,
     application:set_env(gproc, server_options, [{min_heap_size, H}]),
-    ?assert(ok == application:start(gproc)),
+    ?assertMatch(ok, application:start(gproc)),
     {min_heap_size, H1} = process_info(whereis(gproc), min_heap_size),
     ?assert(is_integer(H1) andalso H1 > H).