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
Julian V. Modesto
f448c01651
Add kubectl diff + server-side dry-run to e2e
2020-04-02 20:54:53 -04:00
Kenichi Omichi
42bb845f40
Separate RestartControllerManager() as e2ekubesystem
...
RestartControllerManager() is kube-controller specific function
and it is better to separate the function as subpackage of e2e
test framework.
In addition, the function made invalid dependency into e2essh.
So this separates the function into e2ekubesystem subpackage.
2020-03-27 03:52:17 +00:00
Kubernetes Prow Robot
708dd2ea7a
Merge pull request #89308 from zshihang/sync
...
sync api/v1/pod/util with api/pod/util
2020-03-26 14:10:49 -07:00
SataQiu
d294e672c1
e2e/framework: remove direct imports to pkg/util/taints
2020-03-26 14:43:23 +08:00
Kenichi Omichi
7398c83afd
Move RestartApiserver() into e2e/network
...
The function is called from e2e/network test only, so this moves
the function into the test for reducing e2e/framework/util.go code
and removing invalid dependency on e2e test framework.
2020-03-25 20:23:25 +00:00
Jie Shen
68a4b7d621
Move assertCleanup() to e2e kubectl ( #89452 )
...
* Move assertCleanup() to e2e kubectl
* Update test/e2e/kubectl/kubectl.go
Co-Authored-By: SataQiu <1527062125@qq.com >
Co-authored-by: SataQiu <1527062125@qq.com >
2020-03-25 11:20:06 -07:00
Kubernetes Prow Robot
3afbcad669
Merge pull request #89436 from oomichi/RestartKubelet
...
Move RestartKubelet() into e2e/storage/vsphere
2020-03-25 02:03:17 -07:00
Kubernetes Prow Robot
aa4f8e9a39
Merge pull request #89405 from tanjunchen/move-websocket-subpackage-websocket
...
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket
2020-03-24 20:09:02 -07:00
Shihang Zhang
b56da85a77
sync api/v1/pod/util with api/pod/util and remove DefaultContainers
2020-03-24 16:42:32 -07:00
Kenichi Omichi
2158989d6f
Move WaitForPersistentVolumeDeleted() to e2epv
...
The function is for persistent volumes and it doesn't have any
reason why it stays in core test framework. So this moves the
function into e2epv package for reducing e2e/framework/util.go
code.
2020-03-24 22:54:07 +00:00
Kubernetes Prow Robot
91766b86a9
Merge pull request #89387 from oomichi/NewAgnhostPod
...
Move NewAgnhostPod() to e2e/network
2020-03-24 15:27:53 -07:00
Kenichi Omichi
23066215f5
Move RestartKubelet() into e2e/storage/vsphere
...
Since 4e7c2f638d
the function has been
called from storage vsphere e2e test only. This moves the function
into the test file for
- Reducing test/e2e/framework/util.go which is one of huge files
- Remove invalid dependency on e2e test framework
- Remove unnecessary TODO
2020-03-24 17:42:58 +00:00
Kubernetes Prow Robot
bf4cc5b3d9
Merge pull request #89408 from gavinfish/delete-cleanup
...
Delete Cleanup method in e2e util
2020-03-24 10:42:58 -07:00
tanjunchen
aa9d06d79b
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket
2020-03-24 22:54:35 +08:00
Kenichi Omichi
62f3223dec
Move BlockNetwork() to e2enetwork
...
for removing invalid dependency from e2e core framework to e2essh
subpackage and reducing test/e2e/framework/util.go code which is
one of huge files today.
2020-03-24 13:43:51 +00:00
Kenichi Omichi
5c77461733
Move NewAgnhostPod() to e2e/network
...
because the function is called in e2e/network tests only.
2020-03-24 05:46:49 +00:00
Kubernetes Prow Robot
07a7c4902e
Merge pull request #89388 from oomichi/NewTestPod
...
Move NewTestPod() to e2e/scheduling
2020-03-23 21:57:00 -07:00
gavinfish
6ea15783e9
Delete Cleanup method in e2e util
2020-03-24 11:44:09 +08:00
Kenichi Omichi
d1361d10fe
Move NewTestPod() to e2e/scheduling
...
because the function is called in e2e/scheduling tests.
2020-03-23 23:56:09 +00:00
Kenichi Omichi
5f81f5b96c
Move GetFileModeRegex to e2e/common
...
because the function is used at e2e/common tests only.
2020-03-23 23:23:54 +00:00
SataQiu
86fe8f6472
e2e/framework: remove direct imports to /pkg/client/conditions
...
Signed-off-by: SataQiu <1527062125@qq.com >
2020-03-20 15:13:12 +08:00
Kubernetes Prow Robot
f01e0b2f70
Merge pull request #89192 from andrewsykim/e2e-framework-ports
...
e2e/framework: remove imports to pkg/master/ports
2020-03-19 06:06:37 -07:00