You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Adam Antal (Jira)" <ji...@apache.org> on 2020/07/31 11:19:00 UTC
[jira] [Created] (YUNIKORN-339) e2e causes panic if startup phase
fails
Adam Antal created YUNIKORN-339:
-----------------------------------
Summary: e2e causes panic if startup phase fails
Key: YUNIKORN-339
URL: https://issues.apache.org/jira/browse/YUNIKORN-339
Project: Apache YuniKorn
Issue Type: Task
Components: shim - kubernetes
Reporter: Adam Antal
In ci_test.go if the tests before sleepRespPod is created we get a NPE.
This part should be guarded with a nil check:
{code:go}
ginkgo.By("Deleting pod with name - " + sleepRespPod.Name)
err := kClient.DeletePod(sleepRespPod.Name, dev)
gomega.Ω(err).NotTo(gomega.HaveOccurred())
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org