Commit Graph

106 Commits

Author SHA1 Message Date
Kenichi Omichi
12c0eaef25 Use ExpectNoError(err)
We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
2020-09-03 23:29:07 +00:00
Jefftree
ace97738e2 Update formatting of conformance comment 2020-07-29 20:50:44 -07:00
drfish
dfab6b637f Update .import-aliases for e2e test framework 2020-03-25 11:40:02 +08:00
Jordan Liggitt
b7c2faf26c client-go dynamic client: add context to callers 2020-03-06 10:56:23 -05:00
Jordan Liggitt
b19dc3a474 client-go dynamic client: update DeleteOptions callers 2020-03-06 10:21:23 -05:00
Mike Danese
c58e69ec79 automated refactor 2020-03-05 14:59:46 -08:00
Mike Danese
25651408ae generated: run refactor 2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30 generated: run refactor 2020-02-07 18:16:47 -08:00
Mike Danese
d55d6175f8 refactor 2020-01-29 08:50:45 -08:00
Mike Danese
d86fcd8c90 rename some declartions named context in tests 2020-01-16 15:09:28 -08:00
danielqsj
6596a14d39 add missing alias of api errors under test 2019-12-26 17:29:38 +08:00
tanjunchen
f786cb07b7 test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue()|BeFalse()) 2019-12-13 10:11:47 +08:00
MorrisLaw
b85adbf1fd moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils 2019-12-04 20:31:57 +00:00
hwdef
a0489c6ca8 test/e2e/apimachinery: fix staticcheck warning 2019-11-26 22:07:26 +08:00
tanjunchen
de3cf23414 remove the repeat word in documents 2019-10-06 23:32:01 +08:00
hwdef
937d4df16a use log func in test/e2e/apimachinery 2019-09-14 17:30:26 +08:00
Jordan Liggitt
e577feeb91 Ensure backend is ready in listing webhook e2es 2019-08-31 11:27:54 -04:00
Jordan Liggitt
21a2951375 Make admission webhook e2e tests robust in non-aggregator-routing clusters 2019-08-30 23:24:01 -04:00
Jordan Liggitt
97ad87df02 Make CRD admission webhook e2e work in parallel test environments 2019-08-30 22:43:21 -04:00
Jordan Liggitt
d150f15d91 Add readiness probes to CRD/Admission webhook pods 2019-08-30 22:42:38 -04:00
Joe Betz
68bafe4404 Promote admission webhook e2e tests to conformance 2019-08-29 13:50:14 -07:00
Haowei Cai
c81d69952c webhook-e2e: add denying CR update test case, check CR patch and
mutation results
2019-08-29 13:37:41 -07:00
Jordan Liggitt
4396046033 Add discovery docs webhook e2e test 2019-08-27 09:31:28 -04:00
Joe Betz
a5bf6e6797 Replace time.Sleep with poll.wait in admission e2e tests 2019-08-22 19:24:44 -07:00
Joe Betz
d4958c0bee Remove all skips from admission and CRD e2e tests that will be promoted to conformance 2019-08-22 02:04:35 -07:00
Joe Betz
a3e187d86a Use non-default container port and scoped port vars in webhook e2e tests 2019-08-20 13:13:55 -07:00
Kubernetes Prow Robot
77ee754b4c
Merge pull request #81540 from roycaihw/webhook-e2e-dial-timeout
Handle tcp dial timeout in webhook e2e test
2019-08-20 02:00:01 -07:00
Kubernetes Prow Robot
8f887cad45
Merge pull request #81497 from jpbetz/crd-e2e-v1
Upgrade e2e tests to use CRD v1 APIs
2019-08-20 01:59:33 -07:00
Joe Betz
1d429a615c Update e2e tests to use CRD v1 API 2019-08-19 18:31:14 -07:00
Haowei Cai
c8cd0bcd0e accept dial timeout in webhook e2e 2019-08-19 15:39:42 -07:00
Jordan Liggitt
0999bae14c Use v1 admissionregistration APIs in e2e 2019-08-17 16:45:43 -04:00
Joe Betz
3121773af7 Add admission e2e tests for untested stable operations 2019-08-14 09:54:49 -07:00
Jordan Liggitt
a8918405e6 Scope e2e webhooks to avoid cross-test interference 2019-08-06 16:44:11 -04:00
Jordan Liggitt
7f51beebb1 Fix hanging webhook error checking 2019-07-30 21:04:46 -04:00
Jordan Liggitt
bfaea07b06 Convert e2e webhook tests to use v1 API 2019-07-30 18:13:11 -04:00
Dave Chen
c540fd8b84 cleanup: remove useless code
`failOpenHook` is validate against `configmaps`, it has nothing to
do with pod attaching.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-15 18:46:32 +08:00
Aaron Crickenberger
0aae740ede add import-alias for k8s.io/api/apps/v1 2019-06-20 11:39:40 -07:00
Aaron Crickenberger
ba36cc9ebb add import-alias for k8s.io/api/admissionregistration/v1beta1 2019-06-20 11:39:35 -07:00
Kubernetes Prow Robot
ef03129821
Merge pull request #78396 from bclau/tests/reduce-to-agnhost-part-2
tests: Replaces images used with agnhost (part 2)
2019-06-19 21:10:48 -07:00
Kubernetes Prow Robot
0f9077d0af
Merge pull request #78934 from SataQiu/fix-test-20190612
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-18 16:36:46 -07:00
Claudiu Belu
9e81f3b50b tests: Replaces images used with agnhost (part 2)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- net
- netexec
- nettest
- webhook
2019-06-17 06:04:18 -07:00
Kubernetes Prow Robot
7abf2832bf
Merge pull request #78614 from liggitt/remove-beta-e2e-use
Move test/e2e use to v1 APIs
2019-06-14 07:58:38 -07:00
Kubernetes Prow Robot
b8ba75bcd9
Merge pull request #77526 from alejandrox1/framework_util_pod_refactor
Refactored pod-related functions from framework/util.go
2019-06-13 23:06:19 -07:00
SataQiu
f90e228e79 [e2e] move Failf from e2e/framework to e2e/framework/log 2019-06-12 19:00:15 +08:00
Jordan Liggitt
2b911dda65 Fix conflicting duplicate webhook test 2019-06-06 11:35:13 -04:00
Jordan Liggitt
8229af31d2 Move test/e2e use to v1 APIs 2019-06-03 14:46:08 -04:00
Joe Betz
55ecc45455 split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
Jorge Alarcon Ochoa
4969a05327 Refactored pod-related functions from framework/util.go
This a refactoring of framework/utils.go into framework/pod.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
Kubernetes Prow Robot
dcf2dd332a
Merge pull request #77612 from oomichi/add-check-test-code
Add hack/verify-test-code.sh
2019-05-29 05:33:00 -07:00
toyoda
7acb1540a9 Use framework.ExpectError() for e2e/a* 2019-05-24 15:16:02 +09:00