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: [email protected]
For additional commands, e-mail: [email protected]