Commit Graph

921 Commits

Author SHA1 Message Date
Fabio Bertinatto
ee082985c2 e2e: promote use of functions that support custom timeouts in storage tests.
WaitForPodSuccessInNamespace[Slow] are replaced by WaitForPodSuccessInNamespaceTimeout(),
so that custom timeouts are used instead of the hardcoded ones.
2020-12-02 16:14:13 -03:00
Fabio Bertinatto
3ec93da1b5 e2e: add custom timeouts to E2E framework 2020-12-02 15:57:58 -03:00
knight42
d321ac52a2
refactor: migrate node e2e tests off insecure port
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-20 00:12:58 +08:00
David Eads
64c099d670 remove secondary client retries in e2e tests 2020-10-15 08:30:42 -04:00
Kubernetes Prow Robot
05b3e8911a
Merge pull request #95166 from vishsangale/master-to-control-plane-test-e2e-GetMasterHost
Updated symbol 'framework.GetMasterHost' to not use word 'master'
2020-10-01 11:49:19 -07:00
Kubernetes Prow Robot
89fdf5e7d3
Merge pull request #95167 from vishsangale/master-to-control-plane-GetAllMasterAddresses
Updated symbol 'framework.GetAllMasterAddresses' to not use word 'mas…
2020-09-30 18:00:53 -07:00
Vishwanath Sangale
b8e733fb94 Updated symbol 'framework.GetAllMasterAddresses' to not use word 'master' 2020-09-29 21:43:10 -07:00
Vishwanath Sangale
395a6d89f6 Updated symbol 'framework.GetMasterHost' to not use word 'master' 2020-09-29 21:05:39 -07:00
Vinay Kulkarni
334cde51bf Add LookForStringInPodExecToContainer that takes container name parameter, modify LookForStringInPodExec to call the new function. 2020-09-28 19:57:13 +00:00
Vinay Kulkarni
18f8c14359 Fix LookForStringInPodExec(...) to take container name as argument, and refactor function usage
Ref: PR 92127 review discussion https://github.com/kubernetes/kubernetes/pull/92127/files#r447853904
2020-09-25 02:15:21 +00:00
Maciej Szulik
eec4a04c2d
Use namespace flag passed to RunKubectl* methods 2020-09-11 14:51:03 +02:00
Kubernetes Prow Robot
a04f1b8d59
Merge pull request #93046 from oomichi/WatchUntilWithoutRetry
Move WatchUntilWithoutRetry() from e2e framework
2020-08-28 02:02:52 -07:00
Kubernetes Prow Robot
c143ea4bbf
Merge pull request #90522 from beautytiger/fix/nilranger
cleanup: no need nil check before range
2020-08-27 17:54:31 -07:00
Kenichi Omichi
c86caa608d Move WatchUntilWithoutRetry() from e2e framework
WatchUntilWithoutRetry() is called from e2e/apps/rc.go only.
So this moves the function to reduce e2e/framework/util.go code.
2020-07-13 22:54:41 +00:00
Ciprian Hacman
33ac3c36cc Add new flags for node arch 2020-07-13 20:25:14 +03:00
Kubernetes Prow Robot
f8705f22f8
Merge pull request #89705 from ggriffiths/add_snapshot_retainpolicy_e2e_test
Add VolumeSnapshot retain policy test and test for snapshot delete
2020-06-19 11:35:59 -07:00
Grant Griffiths
e1f0e4cd9f Add retain policy test and refactor snapshottable tests
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-06-17 19:53:53 -07:00
Kubernetes Prow Robot
580eebb03b
Merge pull request #90944 from ii/ii-update-and-improve-configmap-resource-lifecycle-test
Update and improve ConfigMap resource lifecycle test
2020-06-16 19:22:05 -07:00
Caleb Woodbine
e8b70ce0da Update docs 2020-06-11 11:08:24 +12:00
Kubernetes Prow Robot
089e8f48f2
Merge pull request #90720 from claudiubelu/tests/fqdn-svc-names
tests: Check FQDN for external services on Windows
2020-06-10 04:38:37 -07:00
Caleb Woodbine
5268ba5488 Ensure events occur regardless of the events in between 2020-06-10 10:51:39 +12:00
Claudiu Belu
2a07efe925 tests: Check FQDN for external services on Windows
Windows does not support partially qualified domain names, which is why the test can fail.

Additionally, because nslookup may return 0 on Windows, even if the given DNS name was not
found, this issue was not observed until recently. We're now checking stderr as well.
2020-06-09 02:36:20 -07:00
Caleb Woodbine
39fd803140 Move watch creating into the retry loop 2020-06-08 09:29:28 +12:00
Caleb Woodbine
63c694acdf Fix verify 2020-06-04 08:57:28 +12:00
Caleb Woodbine
8945d98805 Update desc, naming, cleanup handling 2020-06-03 11:36:21 +12:00
Caleb Woodbine
cd314c193c Fix linting 2020-05-28 08:36:34 +12:00
Caleb Woodbine
1db0ca74a9 Update correct resource version used, watch retry function to not close 2020-05-27 16:11:41 +12:00
Caleb Woodbine
250bb35041 Update documentation 2020-05-27 12:09:02 +12:00
Caleb Woodbine
9a77a00c7c Fix formatting 2020-05-27 08:34:03 +12:00
Caleb Woodbine
b9c934102b Update default retrywatcher resource version 2020-05-25 15:27:32 +12:00
Caleb Woodbine
1bdb854e7e Add resource deleting if there wasn't a delete watch event found 2020-05-25 14:59:25 +12:00
Caleb Woodbine
9f0c24ddcf Fix checks, amount checking 2020-05-25 13:33:48 +12:00
Caleb Woodbine
b63b147d12 Update name, watch event occurence checking 2020-05-25 11:49:57 +12:00
Caleb Woodbine
32e0da39fc Update to use watcher 2020-05-21 15:58:55 +12:00
Caleb Woodbine
82d76e2d6d Add dynamic client resource watch function 2020-05-21 10:00:17 +12:00
Caleb Woodbine
a3248a7ba8 Add documentation; Update base from invarients 2020-05-20 16:28:01 +12:00
Caleb Woodbine
fcb04acd70 Add WIP watch event tooling 2020-05-18 16:32:38 +12:00
Hemant Kumar
da941d8d3e Create mock CSI driver resources in different namespace 2020-05-13 11:16:00 -04:00
Kubernetes Prow Robot
a0344973a3
Merge pull request #90591 from cofyc/fix-e2e-namespace-creation
e2e: regenerate namespace name if the name is already taken
2020-04-30 15:56:13 -07:00
tanjunchen
3b5ea194ea test/e2e/framework : move AddOrUpdateTaintOnNode to subpackage node 2020-04-29 21:29:38 +08:00
Yecheng Fu
38c5da01ad regenerate namespace name if the name is already taken 2020-04-29 17:27:52 +08:00
Kubernetes Prow Robot
f86bf71dbe
Merge pull request #89560 from gavinfish/direct-k8s-pod
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-27 22:26:05 -07:00
Guangming Wang
e92a91eb72 cleanup: no need nil check before range 2020-04-27 22:12:12 +08:00
Tomas Nozicka
df8994c202 Fix watches in e2e framework 2020-04-23 17:17:26 +02:00
Yuiko Mori
9c87deb487 Move WaitForService() into e2eservice 2020-04-17 00:11:13 +00:00
Kubernetes Prow Robot
51d41dfdb1
Merge pull request #89542 from julianvmodesto/diff-dry-run-conformance
Add kubectl diff and server-side dry-run to e2e tests
2020-04-15 19:50:45 -07:00
tanjunchen
f76da50c7d test/e2e/framework/util.go:move DsFromManifest to test/e2e/framework/manifest , and rename it to DaemonSetFromURL 2020-04-14 09:54:41 +08:00
gavinfish
bc0cfd273e e2e/framework: remove direct imports to /pkg/api/v1/pod 2020-04-11 11:12:36 +08:00
tanjunchen
6532b40f21 move function RemoveTaintOffNode in test/e2e/framework/util.go to subpackage node 2020-04-08 09:59:44 +08:00
Kenichi Omichi
2f5f16004d Move DescribeIng() into e2eingress
The function is only for e2e ingress test, it is not necessary to
keep the function in e2e test core framework.
2020-04-06 20:01:55 +00:00