Skip to content

Commit

Permalink
cloud output: fix unit tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
yorugac committed Apr 1, 2022
1 parent e1f930b commit aec7aed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/resources/jobs/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ func TestNewRunnerJobCloud(t *testing.T) {
Affinity: nil,
NodeSelector: nil,
ServiceAccountName: "default",
SecurityContext: &corev1.PodSecurityContext{},
AutomountServiceAccountToken: &automountServiceAccountToken,
Containers: []corev1.Container{{
Image: "ghcr.io/grafana/operator:latest-runner",
Expand Down Expand Up @@ -972,6 +973,7 @@ func TestNewRunnerJobLocalFile(t *testing.T) {
},
},
Spec: batchv1.JobSpec{
BackoffLimit: new(int32),
Template: corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Labels: expectedLabels,
Expand Down

0 comments on commit aec7aed

Please sign in to comment.