diff --git a/cli/server.go b/cli/server.go index 7c47563a3d..fbee77b0bf 100644 --- a/cli/server.go +++ b/cli/server.go @@ -2174,7 +2174,7 @@ func startBuiltinPostgres(ctx context.Context, cfg config.Root, logger slog.Logg // existing database retryPortDiscovery := errors.Is(err, os.ErrNotExist) && testing.Testing() if retryPortDiscovery { - maxAttempts = 3 + maxAttempts = 10 } var startErr error