You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/06/01 05:05:19 UTC

[GitHub] wohali opened a new issue #559: 304 after GET-PUT-GET cycle on a _show

wohali opened a new issue #559: 304 after GET-PUT-GET cycle on a _show
URL: https://github.com/apache/couchdb/issues/559
 
 
   ## Expected & Current Behaviour
   1. Why is a GET-PUT-GET cycle returning a 304 on the second GET with headers "if-none-match" etag for a `_show`?
   
   2. Misleading error message should be cleaned up
   
   makefile output:
   ```
   test/javascript/tests/show_documents.js                        
       Error: expected '304', got '304'
   Trace back (most recent call first):
       
     52: test/javascript/test_setup.js
         T(false,"expected '304', got '304'","changed ddoc")
    326: test/javascript/couch_test_runner.js
         TNotEquals(304,304,"changed ddoc")
    296: test/javascript/tests/show_documents.js
         ()
     37: test/javascript/cli_runner.js
         runTest()
     48: test/javascript/cli_runner.js
         
   fail
   ```
   
   couch.log:
   ```
   [notice] 2017-05-31T23:29:00.503101Z node1@127.0.0.1 <0.16311.3> cea9c20ff0 127.0.0.1:15984 127.0.0.1 undefined GET /test_suite_db_xofwxqrc/_design/template/_show/just-name/78db53e02b06ddd067440cd0dd42f84c 304 ok 1
   [notice] 2017-05-31T23:29:00.542915Z node1@127.0.0.1 <0.16311.3> 5cf1142bed 127.0.0.1:15984 127.0.0.1 undefined PUT /test_suite_db_xofwxqrc/_design%2Ftemplate 201 ok 40
   [notice] 2017-05-31T23:29:00.545495Z node1@127.0.0.1 <0.16311.3> 58075015b3 127.0.0.1:15984 127.0.0.1 undefined GET /test_suite_db_xofwxqrc/_design/template/_show/just-name/78db53e02b06ddd067440cd0dd42f84c 304 ok 2
   ```
   
   ## Your Environment
   Jenkins, Erlang 18.3
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services