Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f95b7546 authored by Mike Yu's avatar Mike Yu Committed by Automerger Merge Worker
Browse files

Test: Don't check the order of DNS answers in resolv_private_dns_test am: 6283df0e am: 6c20d1c2

parents b8bc53c5 6c20d1c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -314,7 +314,7 @@ class BasePrivateDnsTest : public BaseTest {
        const addrinfo hints = {.ai_socktype = SOCK_DGRAM};
        const addrinfo hints = {.ai_socktype = SOCK_DGRAM};
        ScopedAddrinfo result = safe_getaddrinfo(host_name, nullptr, &hints);
        ScopedAddrinfo result = safe_getaddrinfo(host_name, nullptr, &hints);
        EXPECT_THAT(ToStrings(result),
        EXPECT_THAT(ToStrings(result),
                    testing::ElementsAreArray({kQueryAnswerAAAA, kQueryAnswerA}));
                    testing::UnorderedElementsAreArray({kQueryAnswerAAAA, kQueryAnswerA}));
    };
    };


    void expectQueries(int dnsQueries, int dotQueries, int dohQueries) {
    void expectQueries(int dnsQueries, int dotQueries, int dohQueries) {