aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-08-24 09:18:27 +0100
committerGravatar GitHub <noreply@github.com> 2017-08-24 09:18:27 +0100
commitea53f8c21973494d485677ca284116382ab5fa7d (patch)
tree2bd03fd769ed82807be0f1aec6650d0599862cfd
parent9c62ddaa014b55a37e6737e925e16d6f6d07ac69 (diff)
downloadcoredns-ea53f8c21973494d485677ca284116382ab5fa7d.tar.gz
coredns-ea53f8c21973494d485677ca284116382ab5fa7d.tar.zst
coredns-ea53f8c21973494d485677ca284116382ab5fa7d.zip
auto: test (#978)
Increate the sleep duration; this is not a proper fix. The problem here is that this is in test that just starts a CoreDNS instance and thus we don't have levers to make "time speed up". It might be worth checking if there is some LD_PRELOAD hackery that fakes time for the entire test? Fixes #945 (not really, but closing with this)
-rw-r--r--test/auto_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/auto_test.go b/test/auto_test.go
index 0efd5df90..ed7d4aa9a 100644
--- a/test/auto_test.go
+++ b/test/auto_test.go
@@ -58,7 +58,7 @@ func TestAuto(t *testing.T) {
t.Fatal(err)
}
- time.Sleep(1100 * time.Millisecond) // wait for it to be picked up
+ time.Sleep(1500 * time.Millisecond) // wait for it to be picked up
resp, err = p.Lookup(state, "www.example.org.", dns.TypeA)
if err != nil {