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
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
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
Kubernetes Prow Robot
df989a45f0
Merge pull request #89011 from oomichi/move-GetClusterZones
...
Move GetClusterZones() to e2enode
2020-03-18 22:23:43 -07:00
Kubernetes Prow Robot
e6e6f7d4dc
Merge pull request #89010 from oomichi/remove-E2ETestNodePreparer
...
Remove unused E2ETestNodePreparer and functions
2020-03-18 22:23:33 -07:00
Andrew Sy Kim
f0f6c6fc81
e2e/framework: remove imports to pkg/master/ports
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 17:42:43 -04:00
tanjunchen
97db7f4b99
move GetPodSecretUpdateTimeout from framework/utils to framework/pod
2020-03-11 15:48:15 +08:00
Kenichi Omichi
c586d8837a
Move GetClusterZones() to e2enode
2020-03-10 18:16:54 +00:00
Kenichi Omichi
19566b9c9f
Remove unused E2ETestNodePreparer and functions
...
Since 59533f0cd1
E2ETestNodePreparer
and the related functions have been unused.
This removes them for cleanup.
2020-03-10 17:32:26 +00:00
drfish
f4da086cbe
Move resource methods from e2e fw to e2e resource fw
2020-03-08 15:27:49 +08:00
Mike Danese
76f8594378
more artisanal fixes
...
Most of these could have been refactored automatically but it wouldn't
have been uglier. The unsophisticated tooling left lots of unnecessary
struct -> pointer -> struct transitions.
2020-03-05 14:59:47 -08:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
tanjunchen
119f4df9c5
test/e2e/framework:remove unused code and move const
2020-02-17 23:31:50 +08: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
Kubernetes Prow Robot
4a45ae3236
Merge pull request #87645 from fromanirh/topomgr-e2e-tests
...
e2e-topology-manager: single-NUMA-node test
2020-02-14 08:06:19 -08:00
Matthew Wong
ef8627c95e
Construct http Request using http.NewRequest
2020-02-13 23:14:42 +00:00
tanjunchen
efec7e64ce
remove TODO and use framework.SingleCallTimeout
2020-02-14 01:12:46 +08:00
tanjunchen
15bc88785a
test/e2e/framework/util.go:make function LookForString private
2020-02-13 20:29:27 +08:00
Matthew Wong
c048fb19fc
Initialize http Request Header before RoundTrip to avoid panic
2020-02-12 06:55:37 +00:00
Francesco Romani
cd7e3d626c
e2e: topomgr: add test infra
...
This patch all the testing infra and utilities needed
to run e2e topology manager tests. This include setup
a guaranteed pod which needs some devices.
The simplest real device available for the purpose
are the SRIOV devices, hence we use them.
This patch pulls the SRIOV device plugin from
the official, yet external, repository.
We do it as close as possible for the nvidia GPU plugin.
This patch also performs minor refactoring for some
test framework utilities, needed to support the new
e2e tests.
Finally, we add an empty e2e topology manager test,
to be completed by the next patch.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01: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
tanjunchen
7ff3a1f8db
test/e2e/framework: remove skip.go and use e2eskipper subpackage
2020-02-01 01:18:48 +08:00