wohali commented on issue #556: Improve JS test harness restartServer() support fn URL: https://github.com/apache/couchdb/pull/556#issuecomment-305900649 So restart isn't done that way anymore. This took me a bit to figure out... https://github.com/apache/couchdb/blob/master/dev/run#L531-L540 So the javascript test suite is invoked as the `run_command` argument to `dev/run`. Anything the test suite prints out to stdout is parsed by L538. So that's how this works: https://github.com/apache/couchdb/pull/556/files#diff-10d21021a1d1424fbe10267262a4d4a7L75 JS's `restartServer()` prints `restart`, which is `eval()`'d by `dev/run` and restarts the nodes That's why I completely removed the old `/_restart` endpoint call - not only was it eclipsed by the version in `test_setup.js`, it simply doesn't work with 2.0! ---------------------------------------------------------------- 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
