Cleanup and standardization of e2e test definitions (#5090)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-02-16 15:27:58 -03:00 committed by GitHub
parent 45c9f94b17
commit cc318cdec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 90 additions and 133 deletions

View file

@ -29,13 +29,15 @@ import (
"k8s.io/ingress-nginx/test/e2e/framework"
)
var _ = framework.IngressNginxDescribe("Load Balance - EWMA", func() {
var _ = framework.DescribeSetting("[Load Balancer] EWMA", func() {
f := framework.NewDefaultFramework("ewma")
BeforeEach(func() {
f.NewEchoDeploymentWithReplicas(3)
f.UpdateNginxConfigMapData("worker-processes", "2")
f.UpdateNginxConfigMapData("load-balance", "ewma")
f.SetNginxConfigMapData(map[string]string{
"worker-processes": "2",
"load-balance": "ewma"},
)
})
It("does not fail requests", func() {