k3s/test
Kubernetes Submit Queue 99b2ab0766 Merge pull request #43194 from marun/fed-refactor-secret-e2e
Automatic merge from submit-queue (batch tested with PRs 44519, 43194, 44513)

[Federation] Add type-agnostic e2e crud test

This PR proposes an e2e test that reuses the type-agnostic crudtester already used for integration testing to validate crud against a deployed cluster. It is intended to to eventually replace the existing e2e tests for simple types like secrets, but for now will run in addition to the existing testing to gain confidence in the coverage it provides.

The deletion corner cases - when orphanDependents is nil or true - do not involve operations in the member clusters and are already well-tested in integration testing and so are not reimplemented here.

Where it can be applied, this approach of abstracting a test from its execution environment - making the test 'retargetable' - can reduce the cost of test development since the bulk of the work can be iterated on as an integration test.  It can also serve as a check on assumptions made in the integration test about how a deployed environment will behave.

cc: @kubernetes/sig-federation-pr-reviews @kubernetes/sig-testing-misc @smarterclayton @derekwaynecarr
2017-04-17 12:39:03 -07:00
..
e2e Merge pull request #44361 from caesarxuchao/move-v1-helpers 2017-04-14 17:55:59 -07:00
e2e_federation Merge pull request #43194 from marun/fed-refactor-secret-e2e 2017-04-17 12:39:03 -07:00
e2e_node autogenerated 2017-04-14 10:40:57 -07:00
fixtures Enable service account token lookup by default 2017-04-04 22:00:11 -04:00
images autogenerated 2017-04-14 10:40:57 -07:00
integration fed: Rename 'secret' controller package to 'sync' 2017-04-17 09:09:41 -07:00
kubemark hack/cluster: consolidate cluster/ utils to hack/lib/util.sh 2017-03-30 22:34:46 -05:00
list
soak autogenerated 2017-04-14 10:40:57 -07:00
utils autogenerated 2017-04-14 10:40:57 -07:00
BUILD
OWNERS add eparis ass approver for test and examples 2017-03-30 11:58:49 -04:00
test_owners.csv Add/remove kargakis from a couple of places 2017-03-11 16:05:57 +01:00