You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/29 13:33:39 UTC

[GitHub] eiri opened a new issue #1704: Test suite `delayed_commits.js` unreliable.

eiri opened a new issue #1704: Test suite `delayed_commits.js` unreliable.
URL: https://github.com/apache/couchdb/issues/1704
 
 
   It became quite often that JS tests fail on Travis with the following
   
   ```bash 
   test/javascript/tests/delayed_commits.js                       
       Error: Failed to execute HTTP request: Failed to connect to 127.0.0.1 port 15984: Connection refused
   Trace back (most recent call first):
       
     37: test/javascript/couch_http.js
         ("\"false\"\n")
    468: 127.0.0.1/_config/couchdb/delayed_commits",[object Object])@test/javascript/couch.js
         ("PUT","/_node/node1
    408: test/javascript/couch_test_runner.js
         run_on_modified_server([object Array],(function () {sleep(15000);T(db.
     29: test/javascript/tests/delayed_commits.js
         ()
     37: test/javascript/cli_runner.js
         runTest()
     48: test/javascript/cli_runner.js
         
   fail
   ```
   
   ## Expected Behavior
   JS tests should pass.
   
   ## Current Behavior
   JS tests fail often locally in `delayed_commits` suite.
   
   ## Possible Solution
   It's either some changes introduced with new purge functionality or some tweaking happened around JS suite itself. A bit of digging what exactly `delayed_commits` is testing and how that part of functionality was affected in the latest changes is required.
   
   ## Steps to Reproduce (for bugs)
   Run `make javascript` until the failure. Note that isolated run `make javascript suites=delayed_commits` most of the time finishes fine.

----------------------------------------------------------------
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