couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau" <bchesn...@gmail.com>
Subject feedback openbsd 4.4-current
Date Mon, 03 Nov 2008 00:37:41 GMT
Just installed latest trunk on openbsd 4.4-current and launch test
suite. After some changes in build (see patches in jira) all browser
tests passed. I will test more with real product later this day. Does
test/runner supposed to work right now ? If it is, find results
attached.

- benoƮt

results of test/runner.sh
-----------------------------------------

Running 7 tests...
  -couch_config_test/0-fun-0-        [PASSED]
  -couch_config_writer_test/0-fun-0-        [PASSED]
  -couch_config_writer_test/0-fun-1-        [PASSED]
  -couch_config_writer_test/0-fun-2-        [PASSED]
  -couch_config_writer_test/0-fun-3-        [PASSED]
  -couch_config_writer_test/0-fun-4-        [PASSED]
  -couch_config_writer_test/0-fun-5-        [PASSED]
PASSED: 7, FAILED: 0, SKIPPED: 0
Running CouchDB Test Suite

Host: 127.0.0.1:5984
Version: 0.8.1-incubating

basics
Assertion failed: all.offset == 2
ERROR
Exception raised: [object Object]
Backtrace: undefined
1132ms

conflicts
PASS
1055ms

recreate_doc
PASS
4448ms

copy_move_doc
Assertion failed: xhr.status == 201
ERROR
Exception raised: TypeError: db.open("doc_that_was_copied") has no properties
Backtrace: ()@-:2242
runTestConsole((function (debug) {var db = new
CouchDB("test_suite_db");db.deleteDb();db.createDb();if (debug)
{debugger;}T(db.save({_id:"doc_to_be_copied", v:1}).ok,
"db.save({_id:\"doc_to_be_copied\", v:1}).ok");var xhr =
CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied",
{headers:{Destination:"doc_that_was_copied"}});T(xhr.status == 201,
"xhr.status == 201");T(db.open("doc_that_was_copied").v == 1,
"db.open(\"doc_that_was_copied\").v == 1");var xhr =
CouchDB.request("MOVE", "/test_suite_db/doc_to_be_copied",
{headers:{Destination:"doc_that_was_moved"}});T(xhr.status == 400,
"xhr.status == 400");var rev = db.open("doc_to_be_copied")._rev;var
xhr = CouchDB.request("MOVE", "/test_suite_db/doc_to_be_copied?rev=" +
rev, {headers:{Destination:"doc_that_was_moved"}});T(xhr.status ==
201, "xhr.status == 201");T(db.open("doc_that_was_moved").v == 1,
"db.open(\"doc_that_was_moved\").v ==
1");T(db.open("doc_to_be_copied") == null,
"db.open(\"doc_to_be_copied\") ==
null");T(db.save({_id:"doc_to_be_copied", v:1}).ok,
"db.save({_id:\"doc_to_be_copied\", v:1}).ok");var doc =
db.save({_id:"doc_to_be_overwritten", v:2});T(doc.ok, "doc.ok");var
xhr = CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied",
{headers:{Destination:"doc_to_be_overwritten"}});T(xhr.status == 412,
"xhr.status == 412");var rev =
db.open("doc_to_be_overwritten")._rev;var xhr =
CouchDB.request("COPY", "/test_suite_db/doc_to_be_copied",
{headers:{Destination:"doc_to_be_overwritten?rev=" +
rev}});T(xhr.status == 201, "xhr.status == 201");var over =
db.open("doc_to_be_overwritten");T(rev != over._rev, "rev !=
over._rev");T(over.v == 1, "over.v == 1");}),false)@-:2601
runAllTestsConsole()@-:2591
@-:2629

250ms

uuids
Assertion failed: xhr.status == 200
ERROR
Exception raised: TypeError: result.uuids has no properties
Backtrace: ()@-:2242
runTestConsole((function (debug) {var db = new
CouchDB("test_suite_db");db.deleteDb();db.createDb();if (debug)
{debugger;}var xhr = CouchDB.request("POST", "/_uuids");T(xhr.status
== 200, "xhr.status == 200");var result =
JSON.parse(xhr.responseText);T(result.uuids.length == 1,
"result.uuids.length == 1");var first = result.uuids[0];xhr =
CouchDB.request("POST", "/_uuids?count=1");T(xhr.status == 200,
"xhr.status == 200");result =
JSON.parse(xhr.responseText);T(result.uuids.length == 1,
"result.uuids.length == 1");var second = result.uuids[0];T(first !=
second, "first != second");xhr = CouchDB.request("POST",
"/_uuids?count=1000");T(xhr.status == 200, "xhr.status == 200");result
= JSON.parse(xhr.responseText);T(result.uuids.length == 1000,
"result.uuids.length == 1000");var seen = {};for (var i in
result.uuids) {var id = result.uuids[i];T(seen[id] === undefined,
"seen[id] === undefined");seen[id] = 1;}}),false)@-:2601
runAllTestsConsole()@-:2591
@-:2629

23ms

bulk_docs
ERROR
Exception raised: [object Object]
Backtrace: undefined
25ms

lots_of_docs
ERROR
Exception raised: [object Object]
Backtrace: undefined
32ms

reduce
ERROR
Exception raised: [object Object]
Backtrace: undefined
117ms

reduce_false
ERROR
Exception raised: [object Object]
Backtrace: undefined
18ms

multiple_rows
PASS
913ms

large_docs
ERROR
Exception raised: [object Object]
Backtrace: undefined
16ms

utf8
We skip the utf8 test because it fails due to problems in couch_js.c
Run the in-browser tests to verify utf8.

attachments

Mime
View raw message