Skip to content

Commit

Permalink
fixup! fix: Default value of qps and burst
Browse files Browse the repository at this point in the history
Signed-off-by: Mateus Oliveira <[email protected]>
  • Loading branch information
mateusoliveira43 committed Jul 31, 2024
1 parent 0798d25 commit aa998ac
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions controllers/velero_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4578,8 +4578,8 @@ func TestDPAReconciler_buildVeleroDeployment(t *testing.T) {
Spec: oadpv1alpha1.DataProtectionApplicationSpec{
Configuration: &oadpv1alpha1.ApplicationConfig{
Velero: &oadpv1alpha1.VeleroConfig{
ClientBurst: pointer.Int(123),
ClientQPS: pointer.Int(123),
ClientBurst: ptr.To(123),
ClientQPS: ptr.To(123),
},
NodeAgent: &oadpv1alpha1.NodeAgentConfig{
UploaderType: "kopia",
Expand All @@ -4599,7 +4599,7 @@ func TestDPAReconciler_buildVeleroDeployment(t *testing.T) {
},
Spec: appsv1.DeploymentSpec{
Selector: &metav1.LabelSelector{MatchLabels: veleroDeploymentMatchLabels},
Replicas: pointer.Int32(1),
Replicas: ptr.To(int32(1)),
Template: corev1.PodTemplateSpec{
ObjectMeta: veleroPodObjectMeta,
Spec: corev1.PodSpec{
Expand Down Expand Up @@ -4652,12 +4652,12 @@ func TestDPAReconciler_buildVeleroDeployment(t *testing.T) {
Spec: oadpv1alpha1.DataProtectionApplicationSpec{
Configuration: &oadpv1alpha1.ApplicationConfig{
Velero: &oadpv1alpha1.VeleroConfig{
ClientBurst: pointer.Int(123),
ClientQPS: pointer.Int(123),
ClientBurst: ptr.To(123),
ClientQPS: ptr.To(123),
Args: &server.Args{
ServerConfig: server.ServerConfig{
ClientBurst: pointer.Int(321),
ClientQPS: pointer.String("321"),
ClientBurst: ptr.To(321),
ClientQPS: ptr.To("321"),
},
},
},
Expand All @@ -4679,7 +4679,7 @@ func TestDPAReconciler_buildVeleroDeployment(t *testing.T) {
},
Spec: appsv1.DeploymentSpec{
Selector: &metav1.LabelSelector{MatchLabels: veleroDeploymentMatchLabels},
Replicas: pointer.Int32(1),
Replicas: ptr.To(int32(1)),
Template: corev1.PodTemplateSpec{
ObjectMeta: veleroPodObjectMeta,
Spec: corev1.PodSpec{
Expand Down

0 comments on commit aa998ac

Please sign in to comment.