k3s/test/e2e_federation
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
..
framework fed: Add type-agnostic e2e crud test 2017-04-17 09:11:03 -07:00
upgrades
BUILD fed: Add type-agnostic e2e crud test 2017-04-17 09:11:03 -07:00
OWNERS
README.md
apiserver.go
authn.go
crud.go fed: Add type-agnostic e2e crud test 2017-04-17 09:11:03 -07:00
daemonset.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00
deployment.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00
event.go
ingress.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00
namespace.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00
replicaset.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00
secret.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00
service.go Remove deprecatedPublicIPs field 2017-04-15 13:16:05 -07:00
upgrade.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00
util.go fed: Manage e2e clusters with a slice instead of a map 2017-04-06 18:02:08 -07:00

README.md

See e2e-tests

Analytics