davisp opened a new pull request #591: Account for extra newlines in response body URL: https://github.com/apache/couchdb/pull/591 ## Overview The timeout=1 (1ms) parameter would some times trigger extra newlines to be included in the response body. The use of `binary:split/2` would then return different portions of the body depending on timing in the cluster. This change adds a helper function to split out all newlines in the response and then returns the last non-empty line. This also removes introspection of the clustered update sequence since this is an HTTP API behavior tests and those are defined as opaque values. COUCHDB-3415 ## Testing recommendations make check apps=chttpd ## GitHub issue number Whatever this PR turns out to be... ## Checklist - [x] Code is written and works correctly; - [x] Changes are a test ---------------------------------------------------------------- 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: us...@infra.apache.org
With regards, Apache Git Services