@@ -5162,7 +5162,7 @@ status:
5162
5162
expectedPr = expectedPrMinimalStatus
5163
5163
}
5164
5164
5165
- if d := cmp .Diff (expectedPr , reconciledRun , ignoreResourceVersion , ignoreLastTransitionTime , ignoreCompletionTime , ignoreStartTime ); d != "" {
5165
+ if d := cmp .Diff (expectedPr , reconciledRun , ignoreResourceVersion , ignoreLastTransitionTime , ignoreCompletionTime , ignoreStartTime , cmpopts . EquateEmpty () ); d != "" {
5166
5166
t .Errorf ("expected to see pipeline run results created. Diff %s" , diff .PrintWantGot (d ))
5167
5167
}
5168
5168
}
@@ -5484,7 +5484,7 @@ status:
5484
5484
expectedPr = expectedPrMinimalStatus
5485
5485
}
5486
5486
5487
- if d := cmp .Diff (expectedPr , reconciledRun , ignoreResourceVersion , ignoreLastTransitionTime , ignoreCompletionTime , ignoreStartTime ); d != "" {
5487
+ if d := cmp .Diff (expectedPr , reconciledRun , ignoreResourceVersion , ignoreLastTransitionTime , ignoreCompletionTime , ignoreStartTime , cmpopts . EquateEmpty () ); d != "" {
5488
5488
t .Errorf ("expected to see pipeline run results created. Diff %s" , diff .PrintWantGot (d ))
5489
5489
}
5490
5490
}
@@ -8952,7 +8952,7 @@ spec:
8952
8952
if err != nil {
8953
8953
t .Fatalf ("Got an error getting reconciled run out of fake client: %s" , err )
8954
8954
}
8955
- if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , ignoreFinallyStartTime ); d != "" {
8955
+ if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , ignoreFinallyStartTime , cmpopts . EquateEmpty () ); d != "" {
8956
8956
t .Errorf ("expected PipelineRun was not created. Diff %s" , diff .PrintWantGot (d ))
8957
8957
}
8958
8958
})
@@ -9560,7 +9560,7 @@ spec:
9560
9560
if err != nil {
9561
9561
t .Fatalf ("Got an error getting reconciled run out of fake client: %s" , err )
9562
9562
}
9563
- if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , ignoreFinallyStartTime ); d != "" {
9563
+ if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , ignoreFinallyStartTime , cmpopts . EquateEmpty () ); d != "" {
9564
9564
t .Errorf ("expected PipelineRun was not created. Diff %s" , diff .PrintWantGot (d ))
9565
9565
}
9566
9566
})
@@ -10020,7 +10020,7 @@ status:
10020
10020
if err != nil {
10021
10021
t .Fatalf ("Got an error getting reconciled run out of fake client: %s" , err )
10022
10022
}
10023
- if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , cmpopts .SortSlices (lessChildReferences )); d != "" {
10023
+ if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , cmpopts .SortSlices (lessChildReferences ), cmpopts . EquateEmpty () ); d != "" {
10024
10024
t .Errorf ("expected PipelineRun was not created. Diff %s" , diff .PrintWantGot (d ))
10025
10025
}
10026
10026
})
@@ -10554,7 +10554,7 @@ spec:
10554
10554
if err != nil {
10555
10555
t .Fatalf ("Got an error getting reconciled run out of fake client: %s" , err )
10556
10556
}
10557
- if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , ignoreFinallyStartTime ); d != "" {
10557
+ if d := cmp .Diff (tt .expectedPipelineRun , pipelineRun , ignoreResourceVersion , ignoreTypeMeta , ignoreLastTransitionTime , ignoreStartTime , ignoreFinallyStartTime , cmpopts . EquateEmpty () ); d != "" {
10558
10558
t .Errorf ("expected PipelineRun was not created. Diff %s" , diff .PrintWantGot (d ))
10559
10559
}
10560
10560
})
0 commit comments