Test pull requests using github actions

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-07-01 17:19:51 -04:00
parent 57d1eb6aa3
commit b392fed580
18 changed files with 214 additions and 56 deletions

View file

@ -22,6 +22,7 @@ import (
"net/http"
"strings"
"github.com/gavv/httpexpect/v2"
"github.com/onsi/ginkgo"
"github.com/stretchr/testify/assert"
core "k8s.io/api/core/v1"
@ -172,7 +173,7 @@ var _ = framework.IngressNginxDescribe("[Service] Type ExternalName", func() {
GET("/get").
WithHeader("Host", host).
Expect().
Status(http.StatusBadGateway)
StatusRange(httpexpect.Status5xx)
})
ginkgo.It("should return 200 for service type=ExternalName using a port name", func() {