mirror of https://github.com/k3s-io/k3s
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
parent
e3a83daeb0
commit
a615ac65d8
|
@ -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")
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue