summaryrefslogtreecommitdiff
path: root/caddytest
diff options
context:
space:
mode:
Diffstat (limited to 'caddytest')
-rw-r--r--caddytest/caddytest.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/caddytest/caddytest.go b/caddytest/caddytest.go
index ca10fab..868b427 100644
--- a/caddytest/caddytest.go
+++ b/caddytest/caddytest.go
@@ -218,7 +218,7 @@ func (tc *Tester) ensureConfigRunning(rawConfig string, configType string) error
if reflect.DeepEqual(expected, fetchConfig(client)) {
return nil
}
- time.Sleep(10 * time.Millisecond)
+ time.Sleep(1 * time.Second)
}
tc.t.Errorf("POSTed configuration isn't active")
return errors.New("EnsureConfigRunning: POSTed configuration isn't active")
@@ -244,7 +244,7 @@ func validateTestPrerequisites() error {
// wait for caddy to start serving the initial config
for retries := 10; retries > 0 && isCaddyAdminRunning() != nil; retries-- {
- time.Sleep(10 * time.Millisecond)
+ time.Sleep(1 * time.Second)
}
}