• Kubernetes Submit Queue's avatar
    Merge pull request #27784 from deads2k/catch-mutators · 4b7024ef
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    add optional mutation checks for shared informer cache
    
    We need to make sure that no one is mutating caches if they're using a shared informer.  It is important that whatever is tracking those changes gets the object *before* anyone else possibly could.
    
    This adds the ability to track the original objects in the cache and their current values.  Go doesn't have an exit hook or a way to say "wait for non-daemon go-funcs to complete before exit", so this runs a gofunc on a loop that can panic the entire process.  It's gated behind an env var.
    
    @derekwaynecarr did I get the right spots to make sure that e2e runs with this flag?
    @smarterclayton @kubernetes/rh-cluster-infra
    4b7024ef
Name
Last commit
Last update
..
helpers Loading commit data...
build.sh Loading commit data...
cross.sh Loading commit data...
test-cmd.sh Loading commit data...
test-e2e-node.sh Loading commit data...
test-integration.sh Loading commit data...
test.sh Loading commit data...
verify.sh Loading commit data...
vet.sh Loading commit data...