diff options
author | 2020-10-15 13:19:39 +0200 | |
---|---|---|
committer | 2020-10-15 04:19:39 -0700 | |
commit | 6938dac21d9a79bc34f4347a52fda4d1bf24b259 (patch) | |
tree | 14ff42768b6461be9347d396cdd0c3dac768be44 /test/reload_test.go | |
parent | 269c0c5dabe2839c29e42b30faa7142ca3e0296e (diff) | |
download | coredns-6938dac21d9a79bc34f4347a52fda4d1bf24b259.tar.gz coredns-6938dac21d9a79bc34f4347a52fda4d1bf24b259.tar.zst coredns-6938dac21d9a79bc34f4347a52fda4d1bf24b259.zip |
reduce sleeps (#4205)
This reduces the amount of sleep time to speed up testing.
master:
PASS
ok github.com/coredns/coredns/test 42.088s
12,33s user 1,30s system 44,29s elapsed 30%CPU ()
this branch:
PASS
ok github.com/coredns/coredns/test 33.527s
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'test/reload_test.go')
-rw-r--r-- | test/reload_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reload_test.go b/test/reload_test.go index 697511e2e..45f961298 100644 --- a/test/reload_test.go +++ b/test/reload_test.go @@ -101,7 +101,7 @@ func TestReloadMetricsHealth(t *testing.T) { } defer c1.Stop() - time.Sleep(1 * time.Second) + time.Sleep(100 * time.Millisecond) // Health resp, err := http.Get("http://localhost:53184/health") |