@@ -81,7 +81,7 @@ func TestOLMToNonOLMSwitch(t *testing.T) {
8181
8282 // Step 1: Deploy central with OLM operator
8383 t .Log ("=== Step 1: Deploy central with OLM operator ===" )
84- args := append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgsNoPortForward ... )
84+ args := append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgs ... )
8585 runCommand (t , deployTimeout , nil , args ... )
8686
8787 // Verify operator is in OLM mode
@@ -94,7 +94,7 @@ func TestOLMToNonOLMSwitch(t *testing.T) {
9494
9595 // Step 2: Deploy central again without OLM (should switch modes)
9696 t .Log ("=== Step 2: Redeploy central without OLM (triggering mode switch) ===" )
97- args = append ([]string {roxieBinary , "deploy" , "central" , "--envrc" , envrcPath }, commonDeployArgsNoPortForward ... )
97+ args = append ([]string {roxieBinary , "deploy" , "central" , "--envrc" , envrcPath }, commonDeployArgs ... )
9898 runCommand (t , deployTimeout , nil , args ... )
9999
100100 // Verify operator switched to non-OLM mode
@@ -131,7 +131,7 @@ func TestNonOLMToOLMSwitch(t *testing.T) {
131131
132132 // Step 1: Deploy central without OLM (non-OLM operator)
133133 t .Log ("=== Step 1: Deploy central with non-OLM operator ===" )
134- args := append ([]string {roxieBinary , "deploy" , "central" , "--envrc" , envrcPath }, commonDeployArgsNoPortForward ... )
134+ args := append ([]string {roxieBinary , "deploy" , "central" , "--envrc" , envrcPath }, commonDeployArgs ... )
135135 runCommand (t , deployTimeout , nil , args ... )
136136
137137 // Verify operator is in non-OLM mode
@@ -144,7 +144,7 @@ func TestNonOLMToOLMSwitch(t *testing.T) {
144144
145145 // Step 2: Deploy central again with OLM (should switch modes)
146146 t .Log ("=== Step 2: Redeploy central with OLM (triggering mode switch) ===" )
147- args = append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgsNoPortForward ... )
147+ args = append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgs ... )
148148 runCommand (t , deployTimeout , nil , args ... )
149149
150150 // Verify operator switched to OLM mode
@@ -185,7 +185,7 @@ func TestOLMOperatorVersionUpgrade(t *testing.T) {
185185
186186 // Step 1: Deploy central with OLM operator
187187 t .Log ("=== Step 1: Deploy central with OLM operator ===" )
188- args := append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgsNoPortForward ... )
188+ args := append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgs ... )
189189 runCommand (t , deployTimeout , nil , args ... )
190190
191191 // Verify operator is in OLM mode
@@ -207,7 +207,7 @@ func TestOLMOperatorVersionUpgrade(t *testing.T) {
207207
208208 // Step 2: Redeploy with same version (should skip if version matches)
209209 t .Log ("=== Step 2: Redeploy with same version (should detect correct version) ===" )
210- args = append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgsNoPortForward ... )
210+ args = append ([]string {roxieBinary , "deploy" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgs ... )
211211 runCommand (t , deployTimeout , nil , args ... )
212212
213213 // Verify operator is still in OLM mode and deployment exists
@@ -245,7 +245,7 @@ func TestSecuredClusterWithOLMSwitch(t *testing.T) {
245245
246246 // Step 1: Deploy central with OLM
247247 t .Log ("=== Step 1: Deploy central with OLM ===" )
248- args := append ([]string {roxieBinary , "deploy" , "--early-readiness" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgsNoPortForward ... )
248+ args := append ([]string {roxieBinary , "deploy" , "--early-readiness" , "central" , "--olm" , "--envrc" , envrcPath }, commonDeployArgs ... )
249249 runCommand (t , deployTimeout , nil , args ... )
250250
251251 verifyOperatorMode (t , true )
@@ -259,7 +259,7 @@ func TestSecuredClusterWithOLMSwitch(t *testing.T) {
259259
260260 // Step 2: Deploy secured-cluster (should reuse OLM operator)
261261 t .Log ("=== Step 2: Deploy secured-cluster (should reuse OLM operator) ===" )
262- args = append ([]string {roxieBinary , "deploy" , "--early-readiness" , "secured-cluster" , "--olm" }, commonDeployArgsNoPortForward ... )
262+ args = append ([]string {roxieBinary , "deploy" , "--early-readiness" , "secured-cluster" , "--olm" }, commonDeployArgs ... )
263263 runCommand (t , deployTimeout , envrcEnv , args ... )
264264
265265 // Verify operator is still in OLM mode
@@ -268,7 +268,7 @@ func TestSecuredClusterWithOLMSwitch(t *testing.T) {
268268
269269 // Step 3: Switch to non-OLM by redeploying secured-cluster without --olm
270270 t .Log ("=== Step 3: Redeploy secured-cluster without OLM (triggering mode switch) ===" )
271- args = append ([]string {roxieBinary , "deploy" , "--early-readiness" , "secured-cluster" }, commonDeployArgsNoPortForward ... )
271+ args = append ([]string {roxieBinary , "deploy" , "--early-readiness" , "secured-cluster" }, commonDeployArgs ... )
272272 runCommand (t , deployTimeout , envrcEnv , args ... )
273273
274274 // Verify operator switched to non-OLM mode
0 commit comments