Fix tests

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-11-16 17:52:46 -03:00
parent 654eceda46
commit af2dce901d
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
5 changed files with 55 additions and 26 deletions

View file

@ -91,7 +91,7 @@ var _ = framework.IngressNginxDescribe("TCP Feature", func() {
resp, _, errs := gorequest.New().
Get(fmt.Sprintf("http://%v:%v", ip, port)).
End()
Expect(len(errs)).Should(BeNumerically("==", 0))
Expect(len(errs)).Should(BeEmpty())
Expect(resp.StatusCode).Should(Equal(200))
})
})