Merge pull request #2526 from ElvinEfendi/fix-upstreah-hash-lua-test
Fix upstream hash lua test
This commit is contained in:
commit
94198fce83
1 changed files with 0 additions and 9 deletions
|
@ -252,15 +252,6 @@ var _ = framework.IngressNginxDescribe("Dynamic Configuration", func() {
|
||||||
newUpstreamName := hostnamePattern.FindAllStringSubmatch(body, -1)[0][1]
|
newUpstreamName := hostnamePattern.FindAllStringSubmatch(body, -1)[0][1]
|
||||||
Expect(newUpstreamName).Should(Equal(upstreamName))
|
Expect(newUpstreamName).Should(Equal(upstreamName))
|
||||||
}
|
}
|
||||||
|
|
||||||
resp, body, errs = gorequest.New().
|
|
||||||
Get(fmt.Sprintf("%s?completely-different-path", f.IngressController.HTTPURL)).
|
|
||||||
Set("Host", "foo.com").
|
|
||||||
End()
|
|
||||||
Expect(len(errs)).Should(Equal(0))
|
|
||||||
Expect(resp.StatusCode).Should(Equal(http.StatusOK))
|
|
||||||
anotherUpstreamName := hostnamePattern.FindAllStringSubmatch(body, -1)[0][1]
|
|
||||||
Expect(anotherUpstreamName).NotTo(Equal(upstreamName))
|
|
||||||
})
|
})
|
||||||
|
|
||||||
Context("when session affinity annotation is present", func() {
|
Context("when session affinity annotation is present", func() {
|
||||||
|
|
Loading…
Reference in a new issue