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>
This commit is contained in:
parent
269c0c5dab
commit
6938dac21d
4 changed files with 11 additions and 12 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue