couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keks Keksov (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1563) Bug in test suite
Date Mon, 15 Oct 2012 16:16:03 GMT
Keks Keksov created COUCHDB-1563:

             Summary: Bug in test suite
                 Key: COUCHDB-1563
             Project: CouchDB
          Issue Type: Bug
          Components: Test Suite
    Affects Versions: 1.2
            Reporter: Keks Keksov
            Priority: Trivial

My nginx.conf is a bit different from suggested at your site - it allows to pass tests with
slashes in db name test_suite_db%2Fwith_slashes

    location = /db { 
        include proxy.conf;
        proxy_redirect off;

    location ^~ /db/ {
        include proxy.conf;
        proxy_redirect off;
        if ( $request_uri ~ ^/db/(.*) ) { # this line of code prevents nginx from decoding
original uri


There is a problem in test suites scripts, sometimes urlPrefix is missing from request. For
example in the following fragment from content_negotiation test
// with no accept header
var req = CouchDB.newXhr();"GET", "/test_suite_db/", false);
TEquals("text/plain; charset=utf-8", req.getResponseHeader("Content-Type")); 

as a result of it the false GET request is sent - http://mysite/test_suit_db/ instead of http://mysite/db/test_suit_db/
and test fails.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message