Commit a615ac65 authored by Walter Fender's avatar Walter Fender

Fixed intermittant e2e aggregator test on GKE.

Fixes issues/50945. Issue was caused by another test cleaning up its namespace. This caused the namespace controller to try to clean up that namespace. This involves deleting all flunders under that namespace. However the sample-apiserver was not honoring the namespace filter. So the flunders for the test would randomly disappear. Fixed image path to pick up newly built fixes from this PR.
parent e3a83dae
......@@ -64,7 +64,7 @@ type flunderStrategy struct {
}
func (flunderStrategy) NamespaceScoped() bool {
return false
return true
}
func (flunderStrategy) PrepareForCreate(ctx genericapirequest.Context, obj runtime.Object) {
......
......@@ -68,7 +68,7 @@ var _ = SIGDescribe("Aggregator", func() {
framework.SkipUnlessProviderIs("gce", "gke")
// Testing a 1.7 version of the sample-apiserver
TestSampleAPIServer(f, "gcr.io/kubernetes-e2e-test-images/k8s-aggregator-sample-apiserver-amd64:1.7", "sample-system")
TestSampleAPIServer(f, "gcr.io/kubernetes-e2e-test-images/k8s-aggregator-sample-apiserver-amd64:1.7v2", "sample-system")
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment