couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: oauth & replication tests
Date Thu, 12 Nov 2009 17:29:51 GMT
On Thu, Nov 12, 2009 at 2:24 AM, Robert Campbell <rrc7cz@gmail.com> wrote:
> When I run the test suite on my freshly installed 0.10.0 instance,
> every test passes except for oauth and replication. Here is the result
> of oauth:
> # Assertion failed: xhr.status == expectedCode
> # Assertion failed: xhr.status == expectedCode
>
> and here is the result of replication:
> # Exception raised: {"message":"docB is
> null","fileName":"http://174.143.175.218:5984/_utils/script/couch_test_runner.js","lineNumber":53,"stack":"([object
> Object],[object
> Object])@http://174.143.175.218:5984/_utils/script/couch_test_runner.js:53\u000a((void
> 0))@http://174.143.175.218:5984/_utils/script/couch_test_runner.js:66\u000arun(-7)@http://174.143.175.218:5984/_utils/script/couch_test_runner.js:78\u000a"}
>
> In the CouchDB: Definitive Guide I'm reading, it suggests that test
> failures could indicate a bad installation or configuration. Any idea
> how to get these two tests to pass?
>

Are you running through a proxy or across a very slow connection.
Sometimes lots of extra time passing in the specs can cause spurious
failures.

-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message