@@ -97,6 +97,8 @@ var _ = BeforeSuite(func() {
9797 logf .SetLogger (zap .New (zap .WriteTo (GinkgoWriter ), zap .UseDevMode (true ), func (o * zap.Options ) {
9898 o .Development = true
9999 o .TimeEncoder = zapcore .ISO8601TimeEncoder
100+ // ADD THIS LINE to silence Info/Debug:
101+ o .Level = zapcore .ErrorLevel
100102 }))
101103
102104 ctx , cancel = context .WithCancel (context .TODO ())
@@ -127,6 +129,10 @@ var _ = BeforeSuite(func() {
127129 keystoneCRDs ,
128130 rabbitCRDs ,
129131 },
132+ // Increase this to 60 or 120 seconds for the single-core run
133+ ControlPlaneStartTimeout : 120 * time .Second ,
134+ // Give it plenty of time to wind down (e.g., 60-120 seconds)
135+ ControlPlaneStopTimeout : 120 * time .Second ,
130136 CRDInstallOptions : envtest.CRDInstallOptions {
131137 Paths : []string {
132138 networkv1CRD ,
@@ -140,6 +146,14 @@ var _ = BeforeSuite(func() {
140146 // failing on the colons in ::1
141147 LocalServingHost : "127.0.0.1" ,
142148 },
149+ ControlPlane : envtest.ControlPlane {
150+ APIServer : & envtest.APIServer {
151+ Args : []string {
152+ "--service-cluster-ip-range=10.0.0.0/12" , // 65k+ IPs
153+ "--disable-admission-plugins=ResourceQuota,ServiceAccount,NamespaceLifecycle" ,
154+ },
155+ },
156+ },
143157 }
144158
145159 // cfg is defined in this file globally.
0 commit comments