wohali opened a new issue #554: JS stats test has inconsistent results URL: https://github.com/apache/couchdb/issues/554 ## Current & Expected Behaviour Sometimes, the JS `test/javascript/tests/stats.js` test errors with off-by-one errors such as the following: ``` test/javascript/tests/stats.js Error: expected '8', got '9' Trace back (most recent call first): 52: test/javascript/test_setup.js T(false,"expected '8', got '9'","Request counts are incremented proper 321: test/javascript/couch_test_runner.js TEquals(8,9,"Request counts are incremented properly.") 132: test/javascript/tests/stats.js (6,9) 46: test/javascript/tests/stats.js runTest([object Array],[object Object]) 131: test/javascript/tests/stats.js () 37: test/javascript/cli_runner.js runTest() 48: test/javascript/cli_runner.js [31mfail ``` ## Possible Solution This test was recently re-enabled under the assumption that it was good to have something covering this area of our API, but significant sections had to be commented out because results didn't match up with requests being made. It would be good to determine whether these tests are deterministic enough - or whether we actually have a bug in our stats handling - since numbers seem off in quite a few places. ## Your Environment Most recent failure is Jenkins, master branch, logs _id jenkins-couchdb-1-2017-05-29T01:59:56.803570, Ubuntu 12.04, 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: [email protected]
With regards, Apache Git Services
