Refactor e2e test
This commit is contained in:
parent
c4597522bf
commit
c2227a058d
1 changed files with 1 additions and 2 deletions
|
@ -60,8 +60,7 @@ var _ = framework.IngressNginxDescribe("Configmap change", func() {
|
||||||
checksum = match[1]
|
checksum = match[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
return strings.Contains(cfg, "geo $the_real_ip $deny_") &&
|
return strings.Contains(cfg, "allow 1.1.1.1;")
|
||||||
strings.Contains(cfg, "1.1.1.1 0")
|
|
||||||
})
|
})
|
||||||
Expect(checksum).NotTo(BeEmpty())
|
Expect(checksum).NotTo(BeEmpty())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue