ingress-nginx-helm/test/e2e
Hervé d6bba85351
Rework Ginkgo usage (#9522)
* Rework Ginkgo usage

Currently Ginkgo is launched multiple times with different options to
accomodate various use-cases. In particular, some specs needs to be run
sequentially because non-namespaced objects are created that conflicts
with concurent Helm deployments.
However Ginkgo is able to handle such cases natively, in particular
specs that needs to be run sequentially are supported (Serial spec).

This commit marks the specs that needs to be run sequentially as Serial
specs and runs the whole test suite from a single Ginkgo invocation. As
a result, a single JUnit report is now generated.

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Fix controller error in test

Error getting ConfigMap "$NAMESPACE/tcp-services": no object matching key "$NAMESPACE/tcp-services" in local store

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Replace "go get" invocations by "go install"

Executing "go get" changes the go.mod & go.sum files which is not the
case of "go install".

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Always clean out the Helm deployment

Signed-off-by: Hervé Werner <dud225@hotmail.com>

* Add E2E test to verify that changes to one or more configmap trigger an update

Signed-off-by: Hervé Werner <dud225@hotmail.com>

---------

Signed-off-by: Hervé Werner <dud225@hotmail.com>
2023-02-16 06:15:39 -08:00
..
admission Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
annotations Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
dbg migrate ginkgo to v2 (#8826) 2022-07-31 09:16:28 -07:00
defaultbackend Adding a simpler interface for the HTTP request library. (#8862) 2022-09-05 04:02:36 -07:00
endpointslices Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
framework Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
gracefulshutdown migrate ginkgo to v2 (#8826) 2022-07-31 09:16:28 -07:00
ingress Fix defaultServer backend update for Ingress with defaultBackend. (#8825) 2022-08-22 16:26:23 -07:00
leaks Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
loadbalance migrate ginkgo to v2 (#8826) 2022-07-31 09:16:28 -07:00
lua migrate ginkgo to v2 (#8826) 2022-07-31 09:16:28 -07:00
nginx migrate ginkgo to v2 (#8826) 2022-07-31 09:16:28 -07:00
security remove tests and regex path checks (#9626) 2023-02-14 12:33:52 -08:00
servicebackend Adding a simpler interface for the HTTP request library. (#8862) 2022-09-05 04:02:36 -07:00
settings Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
ssl migrate ginkgo to v2 (#8826) 2022-07-31 09:16:28 -07:00
status Adjust the import package order and use http library variables (#9587) 2023-02-16 06:05:40 -08:00
tcpudp Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
e2e.go fix svc long name (#9245) 2022-11-05 14:22:15 -07:00
e2e_test.go Remove comment from e2e_test.go (#5094) 2020-02-17 06:55:38 -03:00
kind.yaml feat: support topology aware hints (#9165) 2023-01-15 18:46:50 -08:00
run-chart-test.sh Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
run-e2e-suite.sh Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
run-kind-e2e.sh Rework Ginkgo usage (#9522) 2023-02-16 06:15:39 -08:00
wait-for-nginx.sh update base images and protobuf gomod (#8478) 2022-04-15 12:53:12 -07:00