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

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

Merge "Test: Increase the DoT probe waiting time" am: 87ca2454

parents aae9fc81 87ca2454
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -306,10 +306,12 @@ again:

    // Poll again because the same DoT probe might be sent again.
    if (isDotProbe && queryCounts == 1) {
        int n = poll(&fds, 1, 50);
        const int timeoutMs = 500;
        int n = poll(&fds, 1, timeoutMs);
        if (n > 0 && fds.revents & POLLIN) {
            goto again;
        }
        LOG(WARNING) << "Did not receive the second DoT probe within " << timeoutMs << "ms";
    }

    LOG(DEBUG) << __func__ << " return: " << queryCounts;