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.
pull/6/head
Walter Fender 2017-09-25 18:03:26 -07:00
parent e3a83daeb0
commit a615ac65d8
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ type flunderStrategy struct {
}
func (flunderStrategy) NamespaceScoped() bool {
return false
return true
}
func (flunderStrategy) PrepareForCreate(ctx genericapirequest.Context, obj runtime.Object) {

View File

@ -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")
})
})