Call fatalf if first start fails in start_stop_delete

pull/5335/head
Thomas Stromberg 2019-09-13 10:04:40 -07:00
parent 6eadaaaaf9
commit 9fa0453c73
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ func TestStartStop(t *testing.T) {
startArgs = append(startArgs, StartArgs()...)
rr, err := Run(t, exec.CommandContext(ctx, Target(), startArgs...))
if err != nil {
t.Errorf("%s failed: %v", rr.Args, err)
// Fatal so that we may collect logs before stop/delete steps
t.Fatalf("%s failed: %v", rr.Args, err)
}
// SADNESS: 0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.