0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-06 22:40:31 -05:00
This commit is contained in:
a 2024-06-18 21:18:07 -05:00
parent 841fe2544d
commit 926fb82f6b
No known key found for this signature in database
GPG key ID: 374BC539FE795AF0

View file

@ -201,7 +201,7 @@ func (tc *Tester) startServer() error {
// start inprocess caddy server
go func() {
caddycmd.MainForTesting("run", "--config", tc.configFileName, "--adapter", "caddyfile")
caddycmd.MainForTesting("caddy", "run", "--config", tc.configFileName, "--adapter", "caddyfile")
}()
// wait for caddy admin api to start. it should happen quickly.
for retries := 10; retries > 0 && isCaddyAdminRunning() != nil; retries-- {