[ 
https://issues.apache.org/jira/browse/YUNIKORN-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated YUNIKORN-339:
---------------------------------
    Labels: newbie  (was: )

> 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
>            Priority: Minor
>              Labels: newbie
>
> 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: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to