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

jaydoane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 6fa2a6f8fccbee831ef05e847b7d9acdee8079ab
Author: Jay Doane <[email protected]>
AuthorDate: Mon Feb 15 22:06:30 2021 -0800

    Include necessary dependency in jwtf keystore test setup & teardown
    
    The config application depends on couch_log, so include it when
    setting up and tearing down tests.
---
 src/jwtf/test/jwtf_keystore_tests.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/jwtf/test/jwtf_keystore_tests.erl 
b/src/jwtf/test/jwtf_keystore_tests.erl
index acbc002..1063a45 100644
--- a/src/jwtf/test/jwtf_keystore_tests.erl
+++ b/src/jwtf/test/jwtf_keystore_tests.erl
@@ -22,7 +22,7 @@
 -define(EC_SECRET, "-----BEGIN PUBLIC 
KEY-----\\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEDsr0lz/Dg3luarb+Kua0Wcj9WrfR23os\\nwHzakglb8GhWRDn+oZT0Bt/26sX8uB4/ij9PEOLHPo+IHBtX4ELFFVr5GTzlqcJe\\nyctaTDd1OOAPXYuc67EWtGZ3pDAzztRs\\n-----END
 PUBLIC KEY-----\\n").
 
 setup() ->
-    test_util:start_applications([config, jwtf]),
+    test_util:start_applications([couch_log, config, jwtf]),
     config:set("jwt_keys", "hmac:hmac", ?HMAC_SECRET),
     config:set("jwt_keys", "rsa:hmac", ?HMAC_SECRET),
     config:set("jwt_keys", "ec:hmac", ?HMAC_SECRET),
@@ -39,7 +39,7 @@ setup() ->
 
 
 teardown(_) ->
-    test_util:stop_applications([config, jwtf]).
+    test_util:stop_applications([couch_log, config, jwtf]).
 
 jwtf_keystore_test_() ->
     {

Reply via email to