Browse Source

allow test to run several times

Anton Lebedevich 13 years ago
parent
commit
785daea8b1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test_src/pgsql_tests.erl

+ 2 - 1
test_src/pgsql_tests.erl

@@ -608,7 +608,8 @@ listen_notify_payload_test(Module) ->
 
 application_test(_Module) ->
     lists:foreach(fun application:start/1, ?ssl_apps),
-    ok = application:start(epgsql).
+    ok = application:start(epgsql),
+    ok = application:stop(epgsql).
 
 %% -- run all tests --