OSDN Git Service

Increase the DNS TTL to 5s to fix netd_test.
authorPierre Imai <imaipi@google.com>
Fri, 13 May 2016 07:28:28 +0000 (16:28 +0900)
committerPierre Imai <imaipi@google.com>
Fri, 13 May 2016 07:35:59 +0000 (16:35 +0900)
commitf581017c7945ee024a2757925ff82861b34a069c
treed4eaeb5cb03598a09094ad6bb1320b66154401bd
parentee335ef2333aaa09290ed8cf4a65f8e6e8b21c46
Increase the DNS TTL to 5s to fix netd_test.

Under some rare, but repeatable, conditions, the cache would expire
before the second getaddrinfo() call in the test was executed, thus causing
superfluous queries that made the test fail. Increasing the TTL fixes
this.

BUG: 28252032

Change-Id: I82919c147ca9c1b7a92f963556b27fb72e3d2222
tests/dns_responder.cpp