Timo Aaltonen discovered that one of our fail over unit tests require
the "localhost" host name to be resolvable, while there is no guarantee
that a buildsystem that runs the build can resolve "localhost".
Attached are three very small patches:
[PATCH 1/3] tests: Do not attempt to resolve localhost unless -n is
This patch disables the test that was relying on "localhost".
[PATCH 2/3] tests: enable network tests based on environment variable
Currently the tests that require a network connection can be enabled by
selecting the -n command line parameter for the test. But in some cases,
like the buildsystems, it might be better to actually enable network
tests globally for all tests.
[PATCH 3/3] RPM: run network tests by default
Enables the unit tests that require a network connectin before calling
I tried building a SRPM with these changes in Koji and the build