mirror of https://github.com/k3s-io/k3s
![]() 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 |
||
---|---|---|
.. | ||
framework | ||
upgrades | ||
BUILD | ||
OWNERS | ||
README.md | ||
apiserver.go | ||
authn.go | ||
crud.go | ||
daemonset.go | ||
deployment.go | ||
event.go | ||
ingress.go | ||
namespace.go | ||
replicaset.go | ||
secret.go | ||
service.go | ||
upgrade.go | ||
util.go |
README.md
See e2e-tests