• Kubernetes Submit Queue's avatar
    Merge pull request #43194 from marun/fed-refactor-secret-e2e · 99b2ab07
    Kubernetes Submit Queue authored
    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
    99b2ab07
Name
Last commit
Last update
..
framework Loading commit data...
upgrades Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
apiserver.go Loading commit data...
authn.go Loading commit data...
crud.go Loading commit data...
daemonset.go Loading commit data...
deployment.go Loading commit data...
event.go Loading commit data...
ingress.go Loading commit data...
namespace.go Loading commit data...
replicaset.go Loading commit data...
secret.go Loading commit data...
service.go Loading commit data...
upgrade.go Loading commit data...
util.go Loading commit data...