commit | 24112cf6ce9ed23029f7697b84548dc8acff28b5 | [log] [tgz] |
---|---|---|
author | Jay Doane <jay.s.doane@gmail.com> | Sun Mar 26 23:46:15 2017 -0700 |
committer | Jay Doane <jay.s.doane@gmail.com> | Sun Mar 26 23:46:15 2017 -0700 |
tree | f0c56d03dc9fcb538624d65c945f2508f8843895 | |
parent | ad803f66dbd1900b67543259142875a6d03503ce [diff] |
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