nickva opened a new pull request, #4722: URL: https://github.com/apache/couchdb/pull/4722
Previously, if some workers responded, and some timed-out, fabric_doc_purge would throw a badmatch error, as it mistakenly expected the set of worker_uuids to match the initial set of worker_uuids. To prevent future accidental match errors, and simplify testing, move timeout handling to a separate function. This also made it possible to shorten the body of the go/3 function a bit. Since we're adding a new test, take the chance to use the newer `?TDEF` macro instead of the awkward `?_test(begin ...end)` construct. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
