Commit Graph

39 Commits

Author SHA1 Message Date
Jordan Liggitt
c9638d54d0 Defer ginkgo recovers 2020-06-01 11:02:41 -04:00
Yuiko Mori
9c87deb487 Move WaitForService() into e2eservice 2020-04-17 00:11:13 +00:00
Kenichi Omichi
c0d09c943d Move NodeUpgrade() into GCP e2e tests
These functions are for GCP e2e tests only, so this moves these
functions into the tests.
2020-04-02 22:13:50 +00:00
drfish
dfab6b637f Update .import-aliases for e2e test framework 2020-03-25 11:40:02 +08:00
Mike Danese
c58e69ec79 automated refactor 2020-03-05 14:59:46 -08:00
tanjunchen
b5cdb6e6cb test/e2e/:remove // TODO: write a wrapper for ExpectNoErrorWithOffset() 2020-03-01 23:00:11 +08:00
Kubernetes Prow Robot
e5524f5f1a
Merge pull request #88099 from cheftako/master
Fix gce-cos-master-reboot test
2020-02-13 16:55:33 -08:00
Walter Fender
e8f67d122f Fix gce-cos-master-reboot test
Adding additional steps to network restart to ensure it restarts.
Also directing output to serial port to make the test debuggable.
2020-02-12 17:07:41 -08:00
drfish
5782d616f2 Move skip method from e2e fw ginkgowrapper to e2e skipper fw 2020-02-13 06:25:43 +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
YuikoTakada
77f482c553 WIP: use e2eskipper package in test/e2e/cloud 2020-01-14 03:24:23 +00:00
danielqsj
fc738cbb1d unify alias of api errors under test 2019-12-26 16:40:45 +08:00
tanjunchen
89b31c8d69 move test/e2e/framework/lifecycle/ test/framework/cloud/gcp 2019-12-12 13:28:53 +08:00
Kubernetes Prow Robot
95703a2e01
Merge pull request #85962 from spiffxp/include-cloud-gcp-in-e2e-test
Include cloud/gcp tests in e2e.test
2019-12-09 14:00:17 -08:00
Kubernetes Prow Robot
688149a0c6
Merge pull request #84613 from MorrisLaw/breakout-kubectl-from-utils
move KubectlCmd out of utils into its own package
2019-12-06 15:51:53 -08:00
Kubernetes Prow Robot
d49ce6ac42
Merge pull request #85751 from tanjunchen/fix-staticcheck-test-e2e-auth-cloud
fix staticcheck in   test/e2e/cloud/
2019-12-06 09:05:03 -08:00
Aaron Crickenberger
d924407ede Include cloud/gcp in e2e.test
Follows the pattern used by instrumentation to include
instrumentation/logging etc.
2019-12-05 12:42:30 -08:00
Xuewei Zhang
c0db5b2562 Convert ExpectEqual(err, nil) to ExpectNoError(err) 2019-12-04 20:28:31 -08:00
MorrisLaw
b85adbf1fd moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils 2019-12-04 20:31:57 +00:00
tanjunchen
c687521b44 fix staticcheck in test/e2e/cloud/ 2019-12-02 11:29:49 +08:00
tanjunchen
f993950b3f use framewoek in test/e2e/cloud 2019-11-27 15:13:55 +08:00
Kenichi Omichi
74f68dfbce Move functions from e2e/framework/util.go Part-4
This is the last PR which moves functions from e2e/framework/util.go

- WaitForServiceWithSelector: Moved to e2e/cloud/gcp
- WaitForStatefulSetReplicasReady: Moved to e2e/storage
- WaitForRCToStabilize: Moved to e2e/kubectl
- CheckInvariants: Moved to e2e/common
- ContainerInitInvariant: Moved to e2e/common
- DumpEventsInNamespace: Renamed to local function
- WaitForDaemonSets: Moved to e2e/e2e.go
2019-11-12 19:25:23 +00:00
Kenichi Omichi
94211f1839 Move functions from e2e framework util.go
The following functions are called at some specific places only,
so this moves these functions to the places and makes them local.

- WaitForPersistentVolumeClaimDeleted: Moved to e2e storage
- PrintSummaries: Moved to e2e framework.go
- GetHostExternalAddress: Moved to e2e node
- WaitForMasters: Moved to e2e cloud gcp
- WaitForApiserverUp: Moved to e2e network
- WaitForKubeletUp: Moved to e2e storage vsphere
2019-11-08 19:25:16 +00:00
Jianfei Bai
e9345ae5f0 Move funcs of nodeutil to cloud/nodes.go. 2019-11-03 11:45:36 +08:00
SataQiu
24f374a395 move test specific functions from rc_util.go 2019-10-29 13:04:59 +08:00
Lubomir I. Ivanov
0b3d50b6dc test/e2e: move GKE/GCE tests from /lifecycle to /cloud/gcp
Move GKE/GCE tests from the sig-cluster-lifecycle
ownership to the sig-cloud-provider-gcp ownership
(ideally the GCP sub-project).
2019-10-12 21:40:07 +03:00
Timothy St. Clair
97055841b1 Audit of test/* OWNERS files 2019-10-10 15:52:51 -05:00
Dan Winship
ec4c1a1c05 Add e2enode.GetRandomReadySchedulableNode, replace some uses of framework.GetReadySchedulableNodesOrDie
For tests that want a single ready, schedulable node
2019-09-24 13:03:40 -04:00
carlory
4e3e4e058c use log funcs of core framework in the test/e2e/scalability and test/e2e/cloud package 2019-08-27 11:30:01 +08:00
Jiatong Wang
e24a962821 Fix error log issue, remove OrDie suffix in methods naming 2019-07-17 23:18:21 -07:00
Jiatong Wang
0b37152f17 Refactor and Move node related methods to framework/node package
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-07-17 22:54:15 -07:00
Frank Jiao
049b652c35 Use framework.ExpectEqual() for e2e/cloud tests 2019-07-05 14:15:54 +08:00
SataQiu
332be4b1e3 refactor: replace framework.Failf with e2elog.Failf 2019-06-19 17:52:35 +08:00
Jiatong Wang
b1c346c295 Move node related methods to framework/node package
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.

Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00
loic le dru
61731dd1d1 e2e-test logf instead framework.logf 2019-05-10 14:18:55 +02:00
danielqsj
84aeafee7b fix golint failures for test/e2e/cloud 2019-02-26 18:25:23 +08:00
Roy Lenferink
b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
andrewsykim
596c6fbf03 e2e test for node deleted in cloud provider 2019-01-25 17:45:18 -05:00