This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch prototype/fdb-layer
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 77e6901aed61cdbb0109e25947f63038da464597
Author: Paul J. Davis <[email protected]>
AuthorDate: Mon Dec 9 12:11:38 2019 -0600

    Silence test suite warning message about crypto
---
 src/couch/src/test_util.erl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/couch/src/test_util.erl b/src/couch/src/test_util.erl
index 9566e8e..7705618 100644
--- a/src/couch/src/test_util.erl
+++ b/src/couch/src/test_util.erl
@@ -98,6 +98,10 @@ start_applications([App|Apps], Acc) when App == kernel; App 
== stdlib ->
     start_applications(Apps, Acc);
 start_applications([App|Apps], Acc) ->
     case application:start(App) of
+    {error, {already_started, crypto}} ->
+        % crypto is automatically started so silence the
+        % warning message
+        start_applications(Apps, [App | Acc]);
     {error, {already_started, App}} ->
         io:format(standard_error, "Application ~s was left running!~n", [App]),
         application:stop(App),

Reply via email to