Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
(! 2553)-> ./rel/couchdb/bin/couchdb
[info] 2020-01-06T21:32:50.714402Z [email protected] <0.259.0> -------- Preflight check: Asserting Admin Account
[info] 2020-01-06T21:32:50.714461Z [email protected] <0.259.0> --------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
No Admin Account Found, aborting startup.
Please configure an admin account in your local.ini file.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
rr(mem3_shards),
SyncShard = fun(ShardName) ->
Shards = mem_shards:for_shard_name(ShardName),
[rpc:call(S1#shard.node, mem3_sync, push, [S1, S2#shard.node]) || S1 <- Shards, S2 <- Shards, S1 =/= S2]
end.
/*
Delta Compression by Glenn Fiedler.
This source code is placed in the public domain.
http://gafferongames.com/2015/03/14/the-networked-physics-data-compression-challenge/
*/
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
$ curl -s -u adm:pass localhost:15984/_node/_local/_transient_stats | jq '.transient.couch_file."/home/vagrant/src/couchdb/dev/lib/node1/data/dbs/shards/00000000-1fffffff/foo"'
{
"writes": {
"count": {
"value": 382,
"type": "counter"
},
"latency": {
"value": {
"min": 0,
Running javascript tests ...
1/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/all_docs.js ... OK
2/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/attachment_names.js ... OK
3/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/attachment_paths.js ... OK
4/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/attachment_ranges.js ... OK
5/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/attachment_views.js ... OK
6/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/attachments.js ... OK
7/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/attachments_multipart.js ... OK
8/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/auth_cache.js ... OK
9/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/basics.js ... OK
46/87 /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/replication.js ... FAIL
Reason: expected '"unauthorized"', got '"forbidden"'
Trace back (most recent call first):
52: /tmp/couchdb/dist/apache-couchdb-1.7.1/test/javascript/test_setup.js
T(false,"expected '\"unauthorized\"', got '\"forbidden\"'",(void 0))
321: /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/couch_test_runner.js
TEquals("unauthorized","forbidden")
1588: /tmp/couchdb/dist/apache-couchdb-1.7.1/share/www/script/test/replication.js
()
diff --git a/src/couch.app.src b/src/couch.app.src
index cf3dc79..39e200a 100644
--- a/src/couch.app.src
+++ b/src/couch.app.src
@@ -47,6 +47,7 @@
couch_log,
couch_event,
ioq,
- couch_stats
+ couch_stats,
-module(etest).
-include_lib("eunit/include/eunit.hrl").
foo_test_() ->
{
"Foo-est of tests",
{
setup,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.