k3s/test/e2e/upgrades
W. Trevor King 96b04bfeac test/e2e/upgrades/apps/job: List Pods in failure message
Currently, this test can fail with the not-very-helpful [1,2]:

  fail [k8s.io/kubernetes/test/e2e/upgrades/apps/job.go:58]: Expected
      <bool>: false
  to be true

Since this test is the only CheckForAllJobPodsRunning consumer, and
has been since CheckForAllJobPodsRunning landed in 116eda0909
(Implements an upgrade test for Job, 2017-02-22, #41271), this commit
refactors the function to EnsureJobPodsRunning, dropping the opaque
boolean, and constructing a useful error summarizing the divergence
from the expected parallelism and the status of listed Pods.

Thanks to Maciej Szulik for the fixups [3] :).

[1]: https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-upgrade/1434/build-log.txt
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1708454#c0
[3]: https://github.com/wking/kubernetes/pull/1
2019-05-10 06:09:36 -07:00
..
apps test/e2e/upgrades/apps/job: List Pods in failure message 2019-05-10 06:09:36 -07:00
storage [e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go 2019-04-13 16:58:37 +08:00
BUILD Move scalability, upgrade, and common packages to framework/log 2019-05-04 12:45:15 -05:00
apparmor.go Move scalability, upgrade, and common packages to framework/log 2019-05-04 12:45:15 -05:00
cassandra.go Move scalability, upgrade, and common packages to framework/log 2019-05-04 12:45:15 -05:00
configmaps.go fix golint failures for test/e2e/upgrades 2019-02-25 16:36:26 +08:00
etcd.go Move scalability, upgrade, and common packages to framework/log 2019-05-04 12:45:15 -05:00
horizontal_pod_autoscalers.go remove usages of internal clientset in e2e framework 2019-03-28 21:13:40 -04:00
kube_proxy_migration.go Move scalability, upgrade, and common packages to framework/log 2019-05-04 12:45:15 -05:00
mysql.go Move scalability, upgrade, and common packages to framework/log 2019-05-04 12:45:15 -05:00
nvidia-gpu.go Move scalability, upgrade, and common packages to framework/log 2019-05-04 12:45:15 -05:00
secrets.go fix golint failures for test/e2e/upgrades 2019-02-25 16:36:26 +08:00
services.go fix golint failures for test/e2e/upgrades 2019-02-25 16:36:26 +08:00
sysctl.go refactor: use framework.ExpectNoError instead in e2e tests 2019-04-27 15:49:15 +08:00
upgrade.go Remove Ingress-GCE upgrade tests from k/k 2019-03-18 10:18:08 -07:00