Skip to content

Commit

Permalink
Set DC paused to true for test
Browse files Browse the repository at this point in the history
  • Loading branch information
rajivnathan committed Jan 16, 2025
1 parent b194843 commit 9563449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/idler/idler_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ func preparePayloads(t *testing.T, r *Reconciler, namespace, namePrefix string,
// DeploymentConfig
dc := &openshiftappsv1.DeploymentConfig{
ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("%s%s-deploymentconfig", namePrefix, namespace), Namespace: namespace},
Spec: openshiftappsv1.DeploymentConfigSpec{Replicas: replicas},
Spec: openshiftappsv1.DeploymentConfigSpec{Replicas: replicas, Paused: true},
}
err = r.AllNamespacesClient.Create(context.TODO(), dc)
require.NoError(t, err)
Expand Down

0 comments on commit 9563449

Please sign in to comment.