Commit 8a4a0983 authored by Marek Biskup's avatar Marek Biskup

Merge pull request #10759 from gmarek/max_pods_e2e

Add additional loging to max_pods e2e test
parents c6ca1deb 46093523
......@@ -100,6 +100,13 @@ var _ = Describe("MaxPods", func() {
By(fmt.Sprintf("Starting additional %v Pods to fully saturate the cluster and trying to start a new one", podsNeededForSaturation))
expectNoError(RunRC(config))
// Log the amount of pods running in the cluster.
// TODO: remove when test is fixed.
pods, err = c.Pods(api.NamespaceAll).List(labels.Everything(), fields.Set{
"status.phase": "Running",
}.AsSelector())
Logf("Observed %v running Pods. Need %v to fully saturate the cluster.", len(pods.Items), totalPodCapacity)
_, err = c.Pods(ns).Create(&api.Pod{
TypeMeta: api.TypeMeta{
Kind: "Pod",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment