kubernetes/cmd/kubeadm/test
Rafael Fernández López cd1ad5646e
kubeadm: add test to detect panics when given certain feature gates
This integration test allows us to detect if a given feature gate will
panic kubeadm. This builds on the assumption that a golang panic makes
the process exit with the code 2.

These tests are not trying to check if the init process succeeds or
not, their only purpose is to ensure that the exit code of the
`kubeadm init` invocation is not 2, thus, reflecting a golang panic.

Some refactors had to be made to the test code, so we return the exit
code along with stdout and stderr.
2019-10-01 20:37:37 +02:00
..
cmd kubeadm: add test to detect panics when given certain feature gates 2019-10-01 20:37:37 +02:00
kubeconfig move test utilites out of /test 2018-12-04 19:27:17 +08:00
BUILD kubeadm: Introduce v1beta2 config 2019-04-25 17:10:04 +03:00
util.go kubeadm: fix name of CA spell error 2019-08-06 12:01:28 +08:00