mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Changed code to improve output for files under test/e2e/node
This commit is contained in:
parent
08bf54678e
commit
0316542704
@ -360,6 +360,8 @@ func getNpdPodStat(f *framework.Framework, nodeName string) (cpuUsage, rss, work
|
||||
hasNpdPod = true
|
||||
break
|
||||
}
|
||||
framework.ExpectEqual(hasNpdPod, true)
|
||||
if !hasNpdPod {
|
||||
framework.Failf("No node-problem-detector pod is present in %+v", summary.Pods)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user