mirror of
https://github.com/monero-project/monero.git
synced 2025-02-21 04:13:49 +02:00
Merge pull request #9709
Some checks failed
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 / ${{ matrix.name }} (Ubuntu 20.04, ubuntu-20.04) (push) Has been cancelled
ci/gh-actions/cli / ${{ matrix.name }} (Ubuntu 22.04, 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 / ${{ matrix.toolchain.name }} (map[host:aarch64-apple-darwin name:Cross-Mac aarch64]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:aarch64-linux-android name:ARMv8 Android]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:aarch64-linux-gnu name:ARM v8 packages:g++-aarch64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:arm-linux-android name:ARMv7 Android]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:arm-linux-gnueabihf name:ARM v7 packages:g++-arm-linux-gnueabihf]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:i686-pc-linux-gnu name:i686 Linux packages:g++-multilib]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:riscv64-linux-gnu name:RISCV 64bit packages:g++-riscv64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-apple-darwin name:Cross-Mac x86_64]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-unknown-freebsd name:x86_64 Freebsd packages:clang-8]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-unknown-linux-gnu name:x86_64 Linux]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-w64-mingw32 name:Win64 packages:g++-mingw-w64-x86-64]) (push) Has been cancelled
ci/gh-actions/cli / Ubuntu 20.04 (tests) (push) Has been cancelled
Some checks failed
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 / ${{ matrix.name }} (Ubuntu 20.04, ubuntu-20.04) (push) Has been cancelled
ci/gh-actions/cli / ${{ matrix.name }} (Ubuntu 22.04, 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 / ${{ matrix.toolchain.name }} (map[host:aarch64-apple-darwin name:Cross-Mac aarch64]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:aarch64-linux-android name:ARMv8 Android]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:aarch64-linux-gnu name:ARM v8 packages:g++-aarch64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:arm-linux-android name:ARMv7 Android]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:arm-linux-gnueabihf name:ARM v7 packages:g++-arm-linux-gnueabihf]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:i686-pc-linux-gnu name:i686 Linux packages:g++-multilib]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:riscv64-linux-gnu name:RISCV 64bit packages:g++-riscv64-linux-gnu]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-apple-darwin name:Cross-Mac x86_64]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-unknown-freebsd name:x86_64 Freebsd packages:clang-8]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-unknown-linux-gnu name:x86_64 Linux]) (push) Has been cancelled
ci/gh-actions/depends / ${{ matrix.toolchain.name }} (map[host:x86_64-w64-mingw32 name:Win64 packages:g++-mingw-w64-x86-64]) (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
@ -41,15 +41,11 @@ TEST(DNSResolver, IPv4Success)
|
||||
|
||||
auto ips = resolver.get_ipv4("example.com", avail, valid);
|
||||
|
||||
ASSERT_EQ(1, ips.size());
|
||||
|
||||
//ASSERT_STREQ("93.184.216.119", ips[0].c_str());
|
||||
ASSERT_LE(1, ips.size());
|
||||
|
||||
ips = tools::DNSResolver::instance().get_ipv4("example.com", avail, valid);
|
||||
|
||||
ASSERT_EQ(1, ips.size());
|
||||
|
||||
//ASSERT_STREQ("93.184.216.119", ips[0].c_str());
|
||||
ASSERT_LE(1, ips.size());
|
||||
}
|
||||
|
||||
TEST(DNSResolver, IPv4Failure)
|
||||
@ -76,9 +72,7 @@ TEST(DNSResolver, DNSSECSuccess)
|
||||
|
||||
auto ips = resolver.get_ipv4("example.com", avail, valid);
|
||||
|
||||
ASSERT_EQ(1, ips.size());
|
||||
|
||||
//ASSERT_STREQ("93.184.216.119", ips[0].c_str());
|
||||
ASSERT_LE(1, ips.size());
|
||||
|
||||
ASSERT_TRUE(avail);
|
||||
ASSERT_TRUE(valid);
|
||||
|
Loading…
Reference in New Issue
Block a user