k3s/test/integration/master
Clayton Coleman 26a6cdda86
Set integration tests to use distinct namespaces
TestWatchBasedManager was racing with the default namespace creation.
To fix that flake and to ensure integration tests using a shared etcd
don't accidentally overlap in the future, move the three main tests
using the default namespace to separate namespaces, and have
TestWatchBasedManager create that namespace before it runs.

Make StartTestServer wait for default namespace creation, which will
reduce other flakes until future changes completely remove use of default
namespace.

From a failed integration run:

	watch_manager_test.go:66: namespaces "default" not found
	watch_manager_test.go:66: namespaces "default" not found
	watch_manager_test.go:66: namespaces "default" not found
2019-05-30 19:11:50 -04:00
..
BUILD Bug fix: failed to run integration test by using bazel 2019-05-17 11:19:55 +08:00
audit_dynamic_test.go update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
audit_test.go Fix many typos in both code and comments 2019-02-27 14:41:02 +07:00
crd_test.go Set integration tests to use distinct namespaces 2019-05-30 19:11:50 -04:00
graceful_shutdown_test.go kube-apiserver: add e2e graceful shutdown integration test 2019-01-02 15:26:04 +01:00
kms_plugin_mock.go Remove test/integration/* from hack/.golint_failures 2019-02-28 19:52:39 -07:00
kms_transformation_test.go Remove test/integration/* from hack/.golint_failures 2019-02-28 19:52:39 -07:00
kube_apiserver_test.go Stop using apps/v1beta1 in tests 2019-01-31 10:12:38 -05:00
main_test.go use testmain in integration tests 2017-07-12 17:34:55 -07:00
secrets_transformation_test.go Introduce kubeapiserver.config.k8s.io/v1 with EncryptionConfiguration and use a standard method for parsing config file. 2018-11-13 14:05:21 +01:00
synthetic_master_test.go fix duplicated imports of k8s code (#77484) 2019-05-08 10:12:47 -07:00
transformation_testcase.go remove unused code 2019-04-19 08:36:31 -04:00