Refactor e2e test

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-05-27 06:31:01 -04:00
parent c4597522bf
commit c2227a058d
No known key found for this signature in database
GPG key ID: 786136016A8BA02A

View file

@ -60,8 +60,7 @@ var _ = framework.IngressNginxDescribe("Configmap change", func() {
checksum = match[1]
}
return strings.Contains(cfg, "geo $the_real_ip $deny_") &&
strings.Contains(cfg, "1.1.1.1 0")
return strings.Contains(cfg, "allow 1.1.1.1;")
})
Expect(checksum).NotTo(BeEmpty())