File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1030,7 +1030,7 @@ func TestReconcileCancelledFailsTaskRunCancellation(t *testing.T) {
10301030 tb .PipelineRunSpec ("test-pipeline" ,
10311031 tb .PipelineRunCancelled ,
10321032 ),
1033- // The reconciler uses the presense of this TaskRun in the status to determine that a TaskRun
1033+ // The reconciler uses the presence of this TaskRun in the status to determine that a TaskRun
10341034 // is already running. The TaskRun will not be retrieved at all so we do not need to seed one.
10351035 tb .PipelineRunStatus (
10361036 tb .PipelineRunTaskRunsStatus (prName + ptName , & v1alpha1.PipelineRunTaskRunStatus {
@@ -1068,7 +1068,7 @@ func TestReconcileCancelledFailsTaskRunCancellation(t *testing.T) {
10681068 // The PipelineRun should not be cancelled b/c we couldn't cancel the TaskRun
10691069 condition := reconciledRun .Status .GetCondition (apis .ConditionSucceeded )
10701070 if ! condition .IsUnknown () {
1071- t .Errorf ("Expected PipelineRun to still be running since the TaskRun could not be cancelled but succeded condition is %v" , condition .Status )
1071+ t .Errorf ("Expected PipelineRun to still be running since the TaskRun could not be cancelled but succeeded condition is %v" , condition .Status )
10721072 }
10731073 if condition .Reason != ReasonCouldntCancel {
10741074 t .Errorf ("Expected PipelineRun condition to indicate the cancellation failed but reason was %s" , condition .Reason )
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ func (c *Reconciler) getTaskResolver(tr *v1beta1.TaskRun) (*resources.LocalTaskR
228228 return resolver , kind
229229}
230230
231- // `prepare` fetches resources the taskrun depends on, runs validation and convertion
231+ // `prepare` fetches resources the taskrun depends on, runs validation and conversion
232232// It may report errors back to Reconcile, it updates the taskrun status in case of
233233// error but it does not sync updates back to etcd. It does not emit events.
234234// All errors returned by `prepare` are always handled by `Reconcile`, so they don't cause
You can’t perform that action at this time.
0 commit comments