Skip to content

Commit

Permalink
Merge pull request #894 from SaschaSchwarze0/sascha-init-taskrunsample
Browse files Browse the repository at this point in the history
Ensure taskRunSample is not nil
  • Loading branch information
openshift-merge-robot authored Oct 7, 2021
2 parents 645972b + 32cac14 commit 164c03b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/reconciler/buildrun/buildrun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ var _ = Describe("Reconcile BuildRun", func() {
// init the Build resource, this never change throughout this test suite
buildSample = ctl.DefaultBuild(buildName, strategyName, build.ClusterBuildStrategyKind)
buildRunSample = ctl.DefaultBuildRun(buildRunName, buildName)
taskRunSample = ctl.DefaultTaskRunWithStatus(taskRunName, buildRunName, ns, corev1.ConditionTrue, "Succeeded")
})

// JustBeforeEach will always execute just before the It() specs,
Expand Down

0 comments on commit 164c03b

Please sign in to comment.