@@ -63,7 +63,7 @@ func ApplyQuarantineConfig(ctx context.Context, t *testing.T, c *envconf.Config,
6363 require .NoError (t , err )
6464
6565 t .Log ("Restarting fault-quarantine deployment to load configuration" )
66- err = RestartDeployment (ctx , t , client , "nvsentinel- fault-quarantine" , NVSentinelNamespace )
66+ err = RestartDeployment (ctx , t , client , "fault-quarantine" , NVSentinelNamespace )
6767 require .NoError (t , err )
6868
6969 return ctx
@@ -82,7 +82,7 @@ func RestoreQuarantineConfig(ctx context.Context, t *testing.T, c *envconf.Confi
8282 require .NoError (t , err )
8383
8484 t .Log ("Restarting fault-quarantine deployment to load restored configuration" )
85- err = RestartDeployment (ctx , t , client , "nvsentinel- fault-quarantine" , NVSentinelNamespace )
85+ err = RestartDeployment (ctx , t , client , "fault-quarantine" , NVSentinelNamespace )
8686 require .NoError (t , err )
8787 }
8888}
@@ -152,7 +152,7 @@ func SetupQuarantineTestWithOptions(ctx context.Context, t *testing.T, c *envcon
152152
153153 if opts == nil || ! opts .SkipRestart {
154154 t .Log ("Restarting fault-quarantine deployment to load all configuration changes" )
155- err = RestartDeployment (ctx , t , client , "nvsentinel- fault-quarantine" , NVSentinelNamespace )
155+ err = RestartDeployment (ctx , t , client , "fault-quarantine" , NVSentinelNamespace )
156156 require .NoError (t , err )
157157 }
158158
@@ -214,7 +214,7 @@ func TeardownQuarantineTest(ctx context.Context, t *testing.T, c *envconf.Config
214214 }
215215
216216 t .Log ("Restarting fault-quarantine deployment to load restored configuration" )
217- err = RestartDeployment (ctx , t , client , "nvsentinel- fault-quarantine" , NVSentinelNamespace )
217+ err = RestartDeployment (ctx , t , client , "fault-quarantine" , NVSentinelNamespace )
218218 assert .NoError (t , err )
219219
220220 return ctx
@@ -359,7 +359,7 @@ func SetCircuitBreakerState(ctx context.Context, t *testing.T, c *envconf.Config
359359 updateCircuitBreakerStateConfigMap (ctx , t , client , state )
360360
361361 t .Log ("Restarting fault-quarantine deployment to pick up CB state" )
362- err = RestartDeployment (ctx , t , client , "nvsentinel- fault-quarantine" , NVSentinelNamespace )
362+ err = RestartDeployment (ctx , t , client , "fault-quarantine" , NVSentinelNamespace )
363363 require .NoError (t , err )
364364}
365365
@@ -402,7 +402,7 @@ func RestoreFQDeployment(ctx context.Context, t *testing.T, client klient.Client
402402 assert .NoError (t , err , "failed to restore deployment" )
403403
404404 t .Log ("Waiting for rollout to complete with restored config" )
405- WaitForDeploymentRollout (ctx , t , client , "nvsentinel- fault-quarantine" , NVSentinelNamespace )
405+ WaitForDeploymentRollout (ctx , t , client , "fault-quarantine" , NVSentinelNamespace )
406406}
407407
408408// modifyFaultQuarantineDeploymentArgs is a generic helper to modify fault-quarantine deployment args.
@@ -416,7 +416,7 @@ func modifyFaultQuarantineDeploymentArgs(ctx context.Context, t *testing.T, clie
416416
417417 err := retry .RetryOnConflict (retry .DefaultRetry , func () error {
418418 deployment := & appsv1.Deployment {}
419- if err := client .Resources ().Get (ctx , "nvsentinel- fault-quarantine" , NVSentinelNamespace , deployment ); err != nil {
419+ if err := client .Resources ().Get (ctx , "fault-quarantine" , NVSentinelNamespace , deployment ); err != nil {
420420 return err
421421 }
422422
0 commit comments