couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klaus_trai...@apache.org
Subject [1/2] couch commit: updated refs/heads/master to 100bb30
Date Wed, 30 Sep 2015 13:42:27 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master 9afa6a097 -> 100bb301c


Fix couchdb_os_daemons tests dependency.

couchdb_os_daemons_tests.erl was failing in
setup if run on its own:

```
... apps=couch tests=os_daemons_test_
```

with an exception:

```
**exit:{{{badmatch,undefined},
  [{couch_log,notice,2,[{file,"src/couch_log.erl"},{line,44}]},
   {config,handle_call,3,[{file,"src/config.erl"},{line,211}]},
```

because it depends on couch_log. So add couch_log as a dependency
in setup.

COUCHDB-2830


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/2ee5e28d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/2ee5e28d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/2ee5e28d

Branch: refs/heads/master
Commit: 2ee5e28d0208188a9f99b513793b31a0e28f8139
Parents: 9afa6a0
Author: Nick Vatamaniuc <vatamane@gmail.com>
Authored: Tue Sep 29 20:06:09 2015 -0400
Committer: Nick Vatamaniuc <vatamane@gmail.com>
Committed: Tue Sep 29 20:06:09 2015 -0400

----------------------------------------------------------------------
 test/couchdb_os_daemons_tests.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/2ee5e28d/test/couchdb_os_daemons_tests.erl
----------------------------------------------------------------------
diff --git a/test/couchdb_os_daemons_tests.erl b/test/couchdb_os_daemons_tests.erl
index fe59005..0cab7b7 100644
--- a/test/couchdb_os_daemons_tests.erl
+++ b/test/couchdb_os_daemons_tests.erl
@@ -37,7 +37,7 @@
 
 
 setup(DName) ->
-    Ctx = test_util:start(?MODULE, [], [{dont_mock, [config]}]),
+    Ctx = test_util:start(?MODULE, [couch_log], [{dont_mock, [config]}]),
     {ok, OsDPid} = couch_os_daemons:start_link(),
     config:set("os_daemons", DName,
                      filename:join([?FIXTURESDIR, DName]), false),


Mime
View raw message