[error] 2016-07-22T23:17:35.103034Z [email protected] emulator -------- Error in process <0.316.0> on node '[email protected]' with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,325}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,313}]},{mem3_shards,load_shards_from_disk...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rebar -r eunit skip_deps=couch_epi apps=couch_log | |
| ==> couch_log (eunit) | |
| ======================== EUnit ======================== | |
| module 'couch_log_writer_syslog' | |
| module 'couch_log_writer_stderr' | |
| module 'couch_log_writer_file' | |
| module 'couch_log_writer_ets' | |
| module 'couch_log_writer' | |
| module 'couch_log_util' | |
| module 'couch_log_trunc_io_fmt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| { | |
| { | |
| badarg, | |
| [ | |
| {j, k, [a, 2]}, | |
| {y, x, 1} | |
| ] | |
| }, | |
| some_ignored_thing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ==> couch_log (eunit) | |
| Compiled src/couch_log_writer.erl | |
| Compiled src/couch_log_writer_stderr.erl | |
| Compiled src/couch_log_util.erl | |
| Compiled src/couch_log_writer_file.erl | |
| Compiled src/couch_log_writer_syslog.erl | |
| Compiled src/couch_log_server.erl | |
| Compiled src/couch_log_formatter.erl | |
| Compiled test/couch_log_writer_test.erl | |
| Compiled test/couch_log_writer_stderr_test.erl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| couch_mrview_modules_load_tests:37: should_load_module (couch_mrview_util)...*failed* | |
| in function couch_mrview_modules_load_tests:'-should_load_module/1-fun-0-'/1 (test/couch_mrview_modules_load_tests.erl, line 37) | |
| **error:{assertMatch_failed,[{module,couch_mrview_modules_load_tests}, | |
| {line,37}, | |
| {expression,"code : load_file ( Mod )"}, | |
| {pattern,"{ module , _ }"}, | |
| {value,{error,not_purged}}]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [notice] 2016-07-22T23:10:39.839218Z [email protected] <0.314.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:325) <= mem3_shards:load_shards_from_disk/1(line:313) <= mem3_shards:load_shards_from_disk/2(line:329) <= mem3_shards:for_docid/3(line:86) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134) | |
| [error] 2016-07-22T23:10:39.839219Z [email protected] emulator -------- Error in process <0.315.0> on node '[email protected]' with exit value: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,325}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,313}]},{mem3_shards,load_shards_from_disk... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| check_welcome() -> | |
| ?http_match( | |
| ?http(get, "/"), | |
| [ | |
| ?status(200), | |
| ?hdrinc(["Server", "Date", "Content-Length"]), | |
| ?hdrmatch("Content-Type", "application/json"), | |
| ?bodyjson([ | |
| ?has_entry({couchdb, <<"Welcome!">>}), | |
| ?has_key(version), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ acurl 'https://davisp.cloudant.com/test-db/_all_docs?keys=["foo"]' | python -m json.tool | |
| { | |
| "rows": [ | |
| { | |
| "id": "foo", | |
| "key": "foo", | |
| "value": { | |
| "deleted": true, | |
| "rev": "2-eec205a9d413992850a6e32678485900" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 238fe3251df06cabac8228df003f52ce21e8091c | |
| Author: Paul J. Davis <[email protected]> | |
| Date: Wed Aug 10 17:18:55 2016 -0500 | |
| Update couch_log for test fix | |
| COUCHDB-3069 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rstrip_whitespace([]) -> | |
| strip; | |
| rstrip_whitespace([C | Rest]) -> | |
| case rstrip_whitespace(Rest) of | |
| strip when C == $\n; C == $\t; C == $\r; C == $\s -> | |
| strip; | |
| Else -> | |
| [C | Else] | |
| end. |