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

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

Ease the log format restriction in resolver binder test am: 3afd0236 am:...

Ease the log format restriction in resolver binder test am: 3afd0236 am: 78c19cb4 am: 2694b5f8 am: b7fd65c7

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I87e42928bd795e1f71004ba2fd8ff8fab793a4f4
parents 54b43ea8 b7fd65c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -123,9 +123,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.
        // Accept any number of the leading space.
        const std::basic_regex lineRegex(
                "^ {4,6}[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{3} "
                "^\\s*[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{3} "
                "(.*)"
                " <[0-9]+[.][0-9]{2}ms>$");