--> <h1id=e2e-test-suite-for-ingress-nginx-controller>e2e test suite for <ahref=https://github.com/kubernetes/ingress-nginx/tree/main/>Ingress NGINX Controller</a><aclass=headerlinkhref=#e2e-test-suite-for-ingress-nginx-controllertitle="Permanent link"> ¶</a></h1><h3id=admission-admission-controller><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L35>[Admission] admission controller</a><aclass=headerlinkhref=#admission-admission-controllertitle="Permanent link"> ¶</a></h3><ul><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L43>reject ingress with global-rate-limit annotations when memcached is not configured</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L70>should not allow overlaps of host and paths without canary annotations</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L87>should allow overlaps of host and paths with canary annotation</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L108>should block ingress with invalid path</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L125>should return an error if there is an error validating the ingress definition</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L136>should return an error if there is an invalid value in some annotation</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L150>should return an error if there is a forbidden value in some annotation</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L164>should not return an error if the Ingress V1 definition is valid with Ingress Class</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L180>should not return an error if the Ingress V1 definition is valid with IngressClass annotation</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L196>should return an error if the Ingress V1 definition contains invalid annotations</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/admission/admission.go#L207>should not return an error for an invalid Ingress when it has unknown class</a></li></ul><h3id=affinitymode><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/affinitymode.go#L31>affinitymode</a><aclass=headerlinkhref=#affinitymodetitle="Permanent link"> ¶</a></h3><ul><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/affinitymode.go#L34>Balanced affinity mode should balance</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/affinitymode.go#L67>Check persistent affinity mode</a></li></ul><h3id=server-alias><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/alias.go#L29>server-alias</a><aclass=headerlinkhref=#server-aliastitle="Permanent link"> ¶</a></h3><ul><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/alias.go#L36>should return status code 200 for host 'foo' and 404 for 'bar'</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/alias.go#L62>should return status code 200 for host 'foo' and 'bar'</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/alias.go#L87>should return status code 200 for hosts defined in two ingresses, different path with one alias</a></li></ul><h3id=app-root><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/annotations/approot.go#L28>app-root</a><aclass=headerlinkhref=#app-roottitle="Permanent link"> ¶</a></h3><ul><li><ahref=https:/