GitHub user jaydoane opened a pull request: https://github.com/apache/couchdb-couch-log/pull/17
Fix dns timeout for undefined syslog host On some platforms, inet:getaddr can take several seconds to return when passed the undefined atom, which is the default value of "syslog_host", and therefore the value used when running tests. On platforms where it takes longer to return than the test is allowed to run, the couch_log_writer_syslog_test will fail with *timed out*. This short circuits the case when "syslog_host" is undefined, and removes the race from the test. COUCHDB-3340 You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloudant/couchdb-couch-log 3340-fix-dns-timeout Alternatively you can review and apply these changes as the patch at: https://github.com/apache/couchdb-couch-log/pull/17.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #17 ---- commit 24112cf6ce9ed23029f7697b84548dc8acff28b5 Author: Jay Doane <jay.s.do...@gmail.com> Date: 2017-03-27T06:46:15Z Fix dns timeout for undefined syslog host On some platforms, inet:getaddr can take several seconds to return when passed the undefined atom, which is the default value of "syslog_host", and therefore the value used when running tests. On platforms where it takes longer to return than the test is allowed to run, the couch_log_writer_syslog_test will fail with *timed out*. This short circuits the case when "syslog_host" is undefined, and removes the race from the test. COUCHDB-3340 ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---