File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
staging/src/k8s.io/client-go/testing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ func TestApplyCreate(t *testing.T) {
294
294
handled , configMap , err := reaction (action )
295
295
assert .True (t , handled )
296
296
if err != nil {
297
- t .Errorf ("Failed to create a resource with apply: %v" , err )
297
+ t .Fatalf ("Failed to create a resource with apply: %v" , err )
298
298
}
299
299
cm := configMap .(* v1.ConfigMap )
300
300
assert .Equal (t , cm .Data , map [string ]string {"k" : "v" })
@@ -314,7 +314,7 @@ func TestApplyNoMeta(t *testing.T) {
314
314
handled , configMap , err := reaction (action )
315
315
assert .True (t , handled )
316
316
if err != nil {
317
- t .Errorf ("Failed to create a resource with apply: %v" , err )
317
+ t .Fatalf ("Failed to create a resource with apply: %v" , err )
318
318
}
319
319
cm := configMap .(* v1.ConfigMap )
320
320
assert .Equal (t , "cm-1" , cm .Name )
You can’t perform that action at this time.
0 commit comments