It became quite often that JS tests fail on Travis with the following
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.
It became quite often that JS tests fail on Travis with the following
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 failExpected Behavior
JS tests should pass.
Current Behavior
JS tests fail often locally in
delayed_commitssuite.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_commitsis testing and how that part of functionality was affected in the latest changes is required.Steps to Reproduce (for bugs)
Run
make javascriptuntil the failure. Note that isolated runmake javascript suites=delayed_commitsmost of the time finishes fine.