mirror of
https://github.com/monero-project/monero.git
synced 2025-01-19 09:14:48 +00:00
Merge pull request #9709
Some checks failed
ci/gh-actions/depends / Cross-Mac aarch64 (push) Has been cancelled
ci/gh-actions/cli / macOS (brew) (push) Has been cancelled
ci/gh-actions/cli / Windows (MSYS2) (push) Has been cancelled
ci/gh-actions/cli / Debian 10 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 22.04 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (libwallet) (push) Has been cancelled
ci/gh-actions/cli / source archive (push) Has been cancelled
ci/gh-actions/depends / ARMv8 Android (push) Has been cancelled
ci/gh-actions/depends / ARM v8 (push) Has been cancelled
ci/gh-actions/depends / ARMv7 Android (push) Has been cancelled
ci/gh-actions/depends / ARM v7 (push) Has been cancelled
ci/gh-actions/depends / i686 Linux (push) Has been cancelled
ci/gh-actions/depends / RISCV 64bit (push) Has been cancelled
ci/gh-actions/depends / Cross-Mac x86_64 (push) Has been cancelled
ci/gh-actions/depends / x86_64 Freebsd (push) Has been cancelled
ci/gh-actions/depends / x86_64 Linux (push) Has been cancelled
ci/gh-actions/depends / Win64 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (tests) (push) Has been cancelled
Some checks failed
ci/gh-actions/depends / Cross-Mac aarch64 (push) Has been cancelled
ci/gh-actions/cli / macOS (brew) (push) Has been cancelled
ci/gh-actions/cli / Windows (MSYS2) (push) Has been cancelled
ci/gh-actions/cli / Debian 10 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 22.04 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (libwallet) (push) Has been cancelled
ci/gh-actions/cli / source archive (push) Has been cancelled
ci/gh-actions/depends / ARMv8 Android (push) Has been cancelled
ci/gh-actions/depends / ARM v8 (push) Has been cancelled
ci/gh-actions/depends / ARMv7 Android (push) Has been cancelled
ci/gh-actions/depends / ARM v7 (push) Has been cancelled
ci/gh-actions/depends / i686 Linux (push) Has been cancelled
ci/gh-actions/depends / RISCV 64bit (push) Has been cancelled
ci/gh-actions/depends / Cross-Mac x86_64 (push) Has been cancelled
ci/gh-actions/depends / x86_64 Freebsd (push) Has been cancelled
ci/gh-actions/depends / x86_64 Linux (push) Has been cancelled
ci/gh-actions/depends / Win64 (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (tests) (push) Has been cancelled
5f5770a
tests: fix IPv4Success, DNSSECSuccess (tobtoht)
This commit is contained in:
commit
1179269478
1 changed files with 3 additions and 9 deletions
|
@ -41,15 +41,11 @@ TEST(DNSResolver, IPv4Success)
|
||||||
|
|
||||||
auto ips = resolver.get_ipv4("example.com", avail, valid);
|
auto ips = resolver.get_ipv4("example.com", avail, valid);
|
||||||
|
|
||||||
ASSERT_EQ(1, ips.size());
|
ASSERT_LE(1, ips.size());
|
||||||
|
|
||||||
//ASSERT_STREQ("93.184.216.119", ips[0].c_str());
|
|
||||||
|
|
||||||
ips = tools::DNSResolver::instance().get_ipv4("example.com", avail, valid);
|
ips = tools::DNSResolver::instance().get_ipv4("example.com", avail, valid);
|
||||||
|
|
||||||
ASSERT_EQ(1, ips.size());
|
ASSERT_LE(1, ips.size());
|
||||||
|
|
||||||
//ASSERT_STREQ("93.184.216.119", ips[0].c_str());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(DNSResolver, IPv4Failure)
|
TEST(DNSResolver, IPv4Failure)
|
||||||
|
@ -76,9 +72,7 @@ TEST(DNSResolver, DNSSECSuccess)
|
||||||
|
|
||||||
auto ips = resolver.get_ipv4("example.com", avail, valid);
|
auto ips = resolver.get_ipv4("example.com", avail, valid);
|
||||||
|
|
||||||
ASSERT_EQ(1, ips.size());
|
ASSERT_LE(1, ips.size());
|
||||||
|
|
||||||
//ASSERT_STREQ("93.184.216.119", ips[0].c_str());
|
|
||||||
|
|
||||||
ASSERT_TRUE(avail);
|
ASSERT_TRUE(avail);
|
||||||
ASSERT_TRUE(valid);
|
ASSERT_TRUE(valid);
|
||||||
|
|
Loading…
Reference in a new issue