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

Commit d502f4a1 authored by Luke Huang's avatar Luke Huang Committed by Automerger Merge Worker
Browse files

Fix dnsresolver binder log test failure in Q am: 0a7cdadd am: d4e2d4dc am: 6d0cb4eb

Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1533167

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I399adaea6a72790dc1e95bfaeead4c85eda074f5
parents 80b38468 6d0cb4eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -121,8 +121,9 @@ class DnsResolverBinderTest : public ::testing::Test {
        // Basic regexp to match dump output lines. Matches the beginning and end of the line, and
        // puts the output of the command itself into the first match group.
        // Example: "      11-05 00:23:39.481 myCommand(args) <2.02ms>".
        // Note: There are 4 leading blank characters in Q, but 6 in R.
        const std::basic_regex lineRegex(
                "^      [0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{3} "
                "^ {4,6}[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{3} "
                "(.*)"
                " <[0-9]+[.][0-9]{2}ms>$");