tanjunchen
fb078347e3
test/e2e/framework: remove direct imports to k8s.io/kubernetes/pkg
2020-03-31 09:26:07 +08:00
Kubernetes Prow Robot
52c2ff6d1a
Merge pull request #89506 from tanjunchen/remove-dependency-002
...
test/e2e/framework: remove direct dependency to k8s.io/kubernetes/pkg/controller
2020-03-30 17:08:54 -07:00
SataQiu
b748c702d9
e2e/framework: remove direct import to pkg/kubelet/util/format
2020-03-27 17:19:00 +08:00
tanjunchen
d7e787adce
test/e2e/framework: remove direct dependency to k8s.io/kubernetes/pkg/controller
2020-03-26 23:21:22 +08: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
e5c67f75a9
Merge pull request #89199 from SataQiu/staging-test-framework-20200318
...
e2e/framework: remove direct imports to pkg/api/v1/pod
2020-03-19 08:27:37 -07:00
Kubernetes Prow Robot
10d6efa04a
Merge pull request #89032 from tanjunchen/move-GetPodSecretUpdateTimeout
...
move GetPodSecretUpdateTimeout from framework/utils to test/e2e/framework/pod/
2020-03-18 22:24:01 -07:00
SataQiu
6a41f331da
e2e/framework: remove direct imports to pkg/api/v1/pod
2020-03-18 11:10:06 +08:00
Kubernetes Prow Robot
9b8e247839
Merge pull request #88218 from SomtochiAma/pod-creation-methods
...
Refactors MakeSecPods function
2020-03-17 16:20:20 -07:00
Somtochi Onyekwere
ee41c6b1a4
Refactors MakeSecPods function
2020-03-12 07:14:08 +01:00
tanjunchen
97db7f4b99
move GetPodSecretUpdateTimeout from framework/utils to framework/pod
2020-03-11 15:48:15 +08:00
drfish
f4da086cbe
Move resource methods from e2e fw to e2e resource fw
2020-03-08 15:27:49 +08:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
Patrick Ohly
d71829a1fc
e2e: avoid setting NodeName for CSI driver deployments
...
We don't want to set the name directly because then starting the pod
can fail when the node is temporarily out of resources
(https://github.com/kubernetes/kubernetes/issues/87855 ).
For CSI driver deployments, we have three options:
- modify the pod spec with custom code, similar
to how the NodeSelection utility code does it
- add variants of SetNodeSelection and SetNodeAffinity which
work with a pod spec instead of a pod
- change their parameter from pod to pod spec and then use
them also when patching a pod spec
The last approach is used here because it seems more general. There
might be other cases in the future where there's only a pod spec that
needs to be modified.
2020-02-26 10:33:29 +01:00
Kubernetes Prow Robot
d462f80d1b
Merge pull request #88065 from tanjunchen/remove-TODO20200212
...
test/e2e/framework/:remove TODO and use framework.SingleCallTimeout
2020-02-14 13:11:42 -08:00
Wei Huang
c83a860e9d
Fix a bug in e2epod function
2020-02-13 16:45:16 -08:00
tanjunchen
efec7e64ce
remove TODO and use framework.SingleCallTimeout
2020-02-14 01:12:46 +08:00
Kubernetes Prow Robot
fb6f5d739b
Merge pull request #88070 from sshukun/remove-tautological-condition
...
Remove tautological condition in test/e2e/framework/pod/resource.go
2020-02-12 21:37:35 -08:00
Shukun
0421b40d79
Remove tautological condition in test/e2e/framework/pod/resource.go
2020-02-12 20:49:24 +09:00
Michelle Au
fb9f02b5e1
Don't set NodeName directly in Pods so that it still goes through the scheduler
...
Change-Id: I244b6aac0289a13339f3ac228c4ad9ecf8c07b42
2020-02-11 19:17:41 -08:00
Kubernetes Prow Robot
dc8208dddc
Merge pull request #87871 from msau42/fix-hostexec
...
Use NodeSelector instead of NodeName in hostexec Pod
2020-02-10 20:44:01 -08:00
Michelle Au
1ee35e788e
Use NodeSelector instead of NodeName in hostexec Pod so that the Pod runs through the scheduler
...
Change-Id: Ia2f7ad39af318bbe707b43dfea706293ecdf5203
2020-02-10 15:36:04 -08:00
Kubernetes Prow Robot
09b13aec37
Merge pull request #87947 from tanjunchen/remove-TODO-and-unused-code
...
remove TODO and unused code
2020-02-09 00:19:52 -08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
tanjunchen
364c6f1173
remove TODO and unused code
2020-02-09 00:38:16 +08:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Kubernetes Prow Robot
a71586fac6
Merge pull request #87598 from sureshpalemoni/master
...
grammar(noun to pod adjective phases) change for pods status in tests
2020-02-04 06:03:27 -08:00
Suresh Palemoni
6da3b70377
grammar change for pods status in tests
...
Signed-off-by: Suresh Palemoni <suresh.palemoni@gmail.com>
2020-01-30 09:34:37 +04:00
Mike Danese
968adfa993
cleanup req.Context() and ResponseWrapper
2020-01-29 08:50:45 -08:00
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
Tomas Smetana
c42e815fb5
Fix multinode storage e2e tests for multizone clusters
2020-01-20 15:01:41 +01:00
tanjunchen
8b1eb7f973
remove TODO(random-liu): Move pod wait function into this file
2020-01-14 18:36:50 +08:00
Kenichi Omichi
99c2e74a23
Add debugging message to know the pod status
...
The log of a flake test says
"Pod did not start running: timed out waiting for the condition"
but it is hard to know what is actual status of the pod.
So this adds debugging message to know that.
2019-12-30 19:46:15 +00:00
danielqsj
fc738cbb1d
unify alias of api errors under test
2019-12-26 16:40:45 +08:00
hwdef
d45107a00d
test/e2e: move funcs from test/e2e/pod to other folders
2019-12-16 11:58:49 +08:00
Kubernetes Prow Robot
e86878436f
Merge pull request #84410 from jfbai/move-funcs-of-expect-to-common
...
move funcs of expect.go to e2e/common
2019-10-29 19:54:52 -07:00
Jianfei Bai
7401f2fe9b
move funcs of expect.go to e2e/common
2019-10-27 11:54:32 +08:00
Kenichi Omichi
a0c0130670
Move CreatePodOrFail()
...
CreatePodOrFail() is used at e2e network tests only, so this moves
the function to the e2e network tests.
2019-10-23 21:14:10 +00:00
Kenichi Omichi
5285cf3eb2
Move LaunchHostExecPod() to e2e network
...
LaunchHostExecPod() is called only from e2e network.
So it is not necessary to keep the function as a part of e2e framework.
This moves it to the place which calls the function.
2019-10-18 17:29:01 +00:00
Kubernetes Prow Robot
cedacc9cae
Merge pull request #84025 from oomichi/move-CreateNginxPod
...
Move CreateNginxPod() to specific e2e
2019-10-17 01:47:48 -07:00
Kubernetes Prow Robot
9aed79b585
Merge pull request #83812 from oomichi/move-Initialized
...
Move Initialized() to e2e framework util
2019-10-16 22:25:21 -07:00
Kenichi Omichi
9e17a0e9f3
Move CreateNginxPod() to specific e2e
...
CreateNginxPod() is called from flexvolume_online_resize only and
that seems storage specific function because that requires a PVC.
So this moves the function to the place which calls it for the code
cleanup.
2019-10-17 00:10:38 +00:00
Kubernetes Prow Robot
6b3d154787
Merge pull request #83816 from oomichi/remove-test_verify.go
...
Remove test_verify from e2e framework package
2019-10-15 23:06:09 -07:00
Kenichi Omichi
0126d35df1
Rename e2e framework functions used locally
...
The following functions are used locally in e2e framework subpackages.
- RunSSHCommandViaBastion
- MakeNginxPod
- LogPodTerminationMessages
- CheckPodsCondition
- SetNodeAffinityRequirement
This renames them to clarify them as local ones.
2019-10-12 00:06:49 +00:00
Kenichi Omichi
ab208e9063
Remove test_verify from e2e framework package
...
test_verify.go contained the function TestPodSuccessOrFail() only,
and the function is used in the package only.
This moves the function to create.go and remove test_verify.go.
2019-10-12 00:01:20 +00:00
Kenichi Omichi
06d41a485c
Move Initialized() to e2e framework util
...
The function is used at e2e framework util module only.
So this moves the function to the module for trying to remove
dependencies to subpackages from core e2e framework.
2019-10-11 22:29:03 +00:00
Ted Yu
0939f90103
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-01 11:12:18 -07:00
alejandrox1
7c161d6a5f
Refactoring pod related functions from pv_util to pod pkg
...
Moving pod related functions from e2e/framework/pv_util.go to
e2e/framework/pod in order to allow refactoring of pv_util.go into its
own package.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-08-27 12:27:45 -04:00
SataQiu
c60377c682
fix static check for test/e2e/framework
2019-08-21 17:28:36 +08:00
Masaki Kimura
04300826fd
Rename WaitTimeoutForPodEvent to WaitTimeoutForEvent and move it to common/events.go
2019-08-19 16:11:30 +00:00