Merge pull request #4464

bef1750f unit_tests: fix longstanding DNS related unit test (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-10-02 22:36:39 +02:00
commit f34f9312f2
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -109,7 +109,7 @@ TEST(AddressFromURL, Failure)
{
bool dnssec_result = false;
std::vector<std::string> addresses = tools::dns_utils::addresses_from_url("example.invalid", dnssec_result);
std::vector<std::string> addresses = tools::dns_utils::addresses_from_url("example.veryinvalid", dnssec_result);
// for a non-existing domain such as "example.invalid", the non-existence is proved with NSEC records
ASSERT_TRUE(dnssec_result);