Skip to content

Commit

Permalink
Merge pull request #2526 from ElvinEfendi/fix-upstreah-hash-lua-test
Browse files Browse the repository at this point in the history
Fix upstream hash lua test
  • Loading branch information
k8s-ci-robot authored May 17, 2018
2 parents 2e53fa2 + c7de5a5 commit 94198fc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/e2e/lua/dynamic_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,6 @@ var _ = framework.IngressNginxDescribe("Dynamic Configuration", func() {
newUpstreamName := hostnamePattern.FindAllStringSubmatch(body, -1)[0][1]
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() {
Expand Down

0 comments on commit 94198fc

Please sign in to comment.