aboutsummaryrefslogtreecommitdiff
path: root/test/reload_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2020-10-15 13:19:39 +0200
committerGravatar GitHub <noreply@github.com> 2020-10-15 04:19:39 -0700
commit6938dac21d9a79bc34f4347a52fda4d1bf24b259 (patch)
tree14ff42768b6461be9347d396cdd0c3dac768be44 /test/reload_test.go
parent269c0c5dabe2839c29e42b30faa7142ca3e0296e (diff)
downloadcoredns-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.go2
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")