Haosdent Huang
089374e8d6
e2e: remove unused method in e2e/framework/autoscaling.
2019-12-09 15:32:28 +08:00
SataQiu
10b173868a
move funs of framework/deployment to e2e/apps
2019-12-09 11:30:15 +08:00
SataQiu
27d645dc5b
fix staticcheck failures of test/e2e/storage
2019-12-07 21:32:11 +08:00
Kubernetes Prow Robot
e0f11a2fc3
Merge pull request #85893 from tanjunchen/fix-test-e2e-network
...
fix staticcheck in test/e2e/network/
2019-12-06 17:06:06 -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
Kubernetes Prow Robot
93c9085e8a
Merge pull request #85973 from msau42/fix-e2e
...
Disable broken pd e2e test
2019-12-05 18:44:49 -08:00
Kubernetes Prow Robot
d47e1364c9
Merge pull request #85540 from pohly/testsuites-api
...
e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource
2019-12-05 17:15:19 -08:00
Jefftree
4d3d364d2b
promote e2e tests for taint-tolerations in predicates
2019-12-05 16:54:02 -08:00
Kubernetes Prow Robot
bf71df226d
Merge pull request #85967 from liggitt/kubectl-deflake
...
Deflake kubectl custom printing test
2019-12-05 15:55:28 -08:00
Kubernetes Prow Robot
4fe4ff885d
Merge pull request #85934 from xueweiz/e2e-node
...
Convert ExpectEqual(err, nil) to ExpectNoError(err)
2019-12-05 15:55:03 -08:00
Kubernetes Prow Robot
b8ce44f006
Merge pull request #85863 from nan-yu/pdb_status_renaming
...
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Michelle Au
2e6d6d73e7
disable node deletion detach test
2019-12-05 14:26:17 -08:00
Kubernetes Prow Robot
fe80f32904
Merge pull request #85780 from hwdef/fix-staticcheck16
...
test/e2e/auth: Fix static check failures
2019-12-05 13:50:44 -08:00
Michelle Au
a8ba361fd6
expect node to be recreated with the same name
2019-12-05 13:32:17 -08:00
Jordan Liggitt
bacab3d457
Deflake kubectl custom printing test
2019-12-05 15:44:25 -05: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
Kubernetes Prow Robot
864596f680
Merge pull request #85947 from jsafrane/privileged-hostpath
...
Run all csi-hostpath containers as privileged
2019-12-05 12:33:04 -08:00
Patrick Ohly
8227b61022
bazel update
2019-12-05 20:10:25 +01:00
Patrick Ohly
87ccd41af2
e2e storage: add compile test for public TestSuite API
...
This will catch accidentally adding a new interface function which
isn't exported. For example, an attempt to implement a new unexported
"foobar()" function then leads to:
test/e2e/storage/testsuites/api_test.go:54:5: cannot use &fakeSuite literal (type *fakeSuite) as type testsuites.TestSuite in assignment:
*fakeSuite does not implement testsuites.TestSuite (missing testsuites.foobar method)
have foobar()
want testsuites.foobar()
FAIL k8s.io/kubernetes/test/e2e/storage/testsuites [build failed]
2019-12-05 20:10:25 +01:00
Patrick Ohly
160da35b23
e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource
...
Implementing a test suite was impossible outside of the
k8s.io/kubernetes/test/e2e/storage/testsuites package because all
interfaces and structs used by them were private.
As part of revamping the API, genericVolumeTestResource also gets
exported because it is useful for other test suites. Because the
TestResource interface became obsolete a while ago and isn't used
anymore, the new name is just testsuites.VolumeResource.
testpatterns.CSIInlineVolume needs special handling in a few places.
It can now be used in a test pattern for a test suite that uses a
VolumeResource instance.
2019-12-05 20:10:25 +01:00
hwdef
d81dd48e2c
test/e2e/auth: Fix static check failures
2019-12-05 22:42:04 +08:00
Jan Safranek
d3c562f7e0
Run all csi-hostpath containers as privileged
...
On systems with SELinux enabled, non-privileged containers can't access
data of privileged containers. Since the CSI driver socket is exposed
by a privileged container, all sidecars must be privileged too.
2019-12-05 13:02:53 +01:00
tanjunchen
d51b72d9e9
fix staticcheck in test/e2e/network/
2019-12-05 13:58:28 +08:00
Xuewei Zhang
c0db5b2562
Convert ExpectEqual(err, nil) to ExpectNoError(err)
2019-12-04 20:28:31 -08:00
MorrisLaw
e981d1ea44
remove framework dependency from framework sub-package kubectl
2019-12-04 21:00:34 +00:00
MorrisLaw
b85adbf1fd
moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils
2019-12-04 20:31:57 +00:00
MorrisLaw
4b99e5305e
remove CheckFileSizeViaContainer from framework
2019-12-04 20:30:51 +00:00
MorrisLaw
cd8da67b03
move KubectlCmd out of utils into its own package
2019-12-04 20:30:43 +00:00
Abdullah Gharaibeh
8aa26a6ed6
remove max pods from e2e test
2019-12-04 13:38:08 -05:00
Kubernetes Prow Robot
0f332bae5d
Merge pull request #85853 from SataQiu/fix-staticcheck-20191203
...
Fix staticcheck failures of test/e2e/upgrade
2019-12-03 21:51:18 -08:00
Kubernetes Prow Robot
99e4f6529f
Merge pull request #85770 from tanjunchen/ExpectExpect-test-e2e-storage
...
use ExpectEqual of framework in test/e2e/storage
2019-12-03 21:50:56 -08:00
Kubernetes Prow Robot
9acdf52877
Merge pull request #85744 from tanjunchen/fix-golint-problems
...
Fix golint issues in test/e2e/lifecycle/
2019-12-03 19:44:57 -08:00
Nan Yu
1fb0dd4ec5
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-03 14:26:35 -08:00
Kubernetes Prow Robot
9ae79ef8e3
Merge pull request #85849 from liggitt/deflake-delete-grace-period
...
Deflake delete grace period e2e
2019-12-03 13:18:34 -08:00
Kubernetes Prow Robot
ec293b6898
Merge pull request #85847 from liggitt/deflake-pod-readiness
...
Deflake pod readiness e2e
2019-12-03 13:17:25 -08:00
Kubernetes Prow Robot
35dfb9b215
Merge pull request #84788 from adelina-t/replace_nginx_agnhost
...
Replace nginx image with agnhost in sig-node pods tests
2019-12-03 13:16:59 -08:00
Ernest Wong
727fdef2db
Address PR comment
2019-12-03 11:34:02 -08:00
SataQiu
6fcd030877
fix staticcheck failures of test/e2e/upgrade
2019-12-03 23:36:09 +08:00
Jordan Liggitt
28327efe6b
Deflake delete grace period e2e
2019-12-03 09:46:45 -05:00
Jordan Liggitt
c62d6add9b
Deflake pod readiness e2e
2019-12-03 09:15:04 -05:00
tanjunchen
9eda99793d
use ExpectEqual of framework in test/e2e/storage
2019-12-03 17:41:49 +08:00
tanjunchen
d2d68026fc
Fix golint issues in test/e2e/lifecycle/
2019-12-03 17:14:38 +08:00
YuikoTakada
cd7859901c
Fix func VerifyLatencyWithinThreshold() to local
2019-12-03 06:53:41 +00:00
Yang Lu
ba2cc99bde
Add test cases to verify kubelet & kube-proxy can recover if being killed accidentally
2019-12-02 15:59:35 -08:00
tanjunchen
c687521b44
fix staticcheck in test/e2e/cloud/
2019-12-02 11:29:49 +08:00
tanjunchen
0c36299c21
Use expect equal test/e2e/upgrades
2019-12-02 11:20:42 +08:00
Kubernetes Prow Robot
050c9471c8
Merge pull request #85644 from liggitt/meta-v1-table
...
Switch TableGenerator/TableConvertor interfaces to metav1
2019-11-28 10:05:18 -08:00
Kubernetes Prow Robot
83a8e8c9fb
Merge pull request #85711 from tanjunchen/use-ExpectEqual-test-e2e-auto
...
use ExpectEqual of framework in test/e2e/autoscaling/
2019-11-28 06:09:03 -08:00
Kubernetes Prow Robot
8be1202f08
Merge pull request #85671 from tanjunchen/update-test/e2e/common-to-use-framework
...
use framework refactor code in test/e2e/common
2019-11-28 04:53:03 -08:00