Jan Safranek
2a08bd64af
Add public functions to define CSI external tests
...
3rd party test suites that want to include external CSI tests may not use
"flags" for cmdline parsing.
2019-07-02 12:01:55 +02:00
Kubernetes Prow Robot
cdddcf9b48
Merge pull request #71170 from atlassian/rand-cleanup2
...
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Kubernetes Prow Robot
ab618571b1
Merge pull request #78291 from goodluckbot/refactor-cleanup-e2e-statefulset-util
...
Refactor and cleanup for statefulset_utils.go
2019-06-25 18:15:26 -07:00
Fabio Bertinatto
33c8bacd41
Update nodeinfomanager to store volume limits in CSINode
2019-06-25 16:30:54 +02:00
goodluckbot
032dde8754
Refactor statefulset e2e tests
2019-06-25 11:33:58 +08:00
Kubernetes Prow Robot
dc8b928136
Merge pull request #79162 from SataQiu/fix-test-20190619
...
Refactor: replace framework.Failf with e2elog.Failf
2019-06-21 12:17:04 -07:00
Aaron Crickenberger
efe97e4b0a
add import-alias for k8s.io/api/storage/v1beta1
2019-06-20 11:41:02 -07:00
Aaron Crickenberger
9a6600f9f4
add import-alias for k8s.io/api/storage/v1
2019-06-20 11:40:57 -07:00
Aaron Crickenberger
1d0d98dbc5
add import-alias for k8s.io/api/policy/v1beta1
2019-06-20 11:40:37 -07:00
Aaron Crickenberger
0aae740ede
add import-alias for k8s.io/api/apps/v1
2019-06-20 11:39:40 -07:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00
s-ito-ts
85ba101947
Fix golint failures of test/e2e/storage/testsuites
2019-06-18 03:02:46 +00: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
Kubernetes Prow Robot
a5b80f5112
Merge pull request #78805 from spiffxp/slow-tagging
...
tag some release-blocking tests taking over 5min as [Slow]
2019-06-14 20:46:23 -07:00
Kubernetes Prow Robot
411d6789e1
Merge pull request #78394 from bclau/tests/reduce-to-agnhost-part-1
...
tests: Replaces images used with agnhost (part 1)
2019-06-14 16:50:22 -07:00
Kubernetes Prow Robot
7abf2832bf
Merge pull request #78614 from liggitt/remove-beta-e2e-use
...
Move test/e2e use to v1 APIs
2019-06-14 07:58:38 -07:00
Kubernetes Prow Robot
928a642ffd
Merge pull request #78459 from davidz627/fix/skipXFS
...
Skip GCE PD in-tree plugin tests if fstype is xfs and node distro is not ubuntu or custom
2019-06-14 04:08:35 -07:00
Kubernetes Prow Robot
08922a1399
Merge pull request #78148 from endyman/fix-golint-test/e2e/storage/utils
...
fix golint errors in test/e2e/storage/utils
2019-06-14 02:50:51 -07:00
Kubernetes Prow Robot
b8ba75bcd9
Merge pull request #77526 from alejandrox1/framework_util_pod_refactor
...
Refactored pod-related functions from framework/util.go
2019-06-13 23:06:19 -07:00
Claudiu Belu
bd8cb8fae0
tests: Replaces images used with agnhost (part 1)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 15:05:50 -07:00
Aaron Crickenberger
248756e066
tag some release-blocking tests taking over 5min as [Slow]
...
I looked at all runs over all jobs run against master or release-1.15,
ignored [Feature:.*] or [Serial] tests, and added [Slow] to any tests
whose 50th percentile duration was over 5 minutes
Misc comments:
- the apimachinery chunking test is the worst offender, at about 15min
- all test cases for all drivers that ran the [Testpattern:.*(xfs)] were
taking longer than 5 minutes, so I got lucky and this was an easy
call; not sure how to support some drivers taking too long for some
test patterns
2019-06-07 17:42:35 -07:00
Jordan Liggitt
8229af31d2
Move test/e2e use to v1 APIs
2019-06-03 14:46:08 -04:00
Hemant Kumar
0f62e3fbe8
Make language of error msgs and func names consistent: ExpandVolumeInUse
...
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Kubernetes Prow Robot
ebdae0b3b7
Merge pull request #78485 from oomichi/add-use-ExpectError
...
Check e2e test code to use ExpectError()
2019-06-01 02:54:42 -07:00
David Zhu
00eb0d23c3
Skip tests is fstype is xfs and node distro is gci, cos, or windows
2019-05-30 13:08:29 -07:00
Jorge Alarcon Ochoa
4969a05327
Refactored pod-related functions from framework/util.go
...
This a refactoring of framework/utils.go into framework/pod.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com >
2019-05-30 09:30:26 -04:00
Kubernetes Prow Robot
13ec0e2bb9
Merge pull request #78478 from draveness/feature/use-framework-expect-no-error
...
fix: use framework.ExpectNoError instead of gomega
2019-05-30 04:55:01 -07:00
Kubernetes Prow Robot
60248990a8
Merge pull request #78051 from davidz627/fix/skipMetrics
...
Skips metrics gathering for test if not on gce, gke, or aws
2019-05-29 17:24:33 -07:00
Kenichi Omichi
63e0507fd9
Check e2e test code to use ExpectError()
...
We can use framework.ExpectError() for checking the expected error
happens. However Expect(err).To(HaveOccurred()) can be used instead
and that makes the e2e test code unreadable.
This adds the check to use framework.ExpectError() for readable code.
2019-05-29 17:04:58 +00:00
draveness
d6c600dac0
fix: use framework.ExpectNoError instead of gomega
2019-05-29 23:46:35 +08:00
Nils Domrose
cc93ec05e8
Merge branch 'master' of https://github.com/kubernetes/kubernetes into fix-golint-test/e2e/storage/utils
2019-05-28 22:18:42 +02:00
Mikhail Mazurskiy
4ce1fb7d40
Cleanup math/rand package usage
2019-05-24 09:25:04 +10:00
Kubernetes Prow Robot
8c94f4daed
Merge pull request #78058 from verult/skip-leaking-pd
...
CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredM…
2019-05-23 14:48:20 -07:00
Nils Domrose
d14c2cca8a
fix golint errors in test/e2e/storage/utils
2019-05-21 11:11:21 +02:00
SataQiu
b828e570b1
fix golint failures of test/e2e/storage/drivers
2019-05-20 13:12:38 +08:00
Kubernetes Prow Robot
21448ea606
Merge pull request #77220 from jingxu97/March/windows_test
...
Update subpath e2e test for windows
2019-05-17 20:26:46 -07:00
Cheng Xing
eead54985d
CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredMaster() is true
2019-05-17 16:52:06 -07:00
David Zhu
9854ecbeef
Skips metrics gathering for test if not on gce, gke, or aws
2019-05-17 13:23:31 -07:00
Jing Xu
e570d27b40
Update subpath e2e test for windows
...
Modify the current subpath e2e file to allow it run in windows clusters.
Change-Id: I921dfbbae9480c718853a97a76cc0a95b1af9790
2019-05-17 10:13:41 -07:00
s-ito-ts
9357cecf54
Use framework.ExpectNoError() for e2e/storage/vsphere
2019-05-17 09:50:19 +00:00
SataQiu
01d38fec16
fix golint failures of test/e2e/storage
2019-05-11 23:30:17 +08:00
danielqsj
629ec7e113
replace test error checking with more readable way
2019-05-10 13:58:09 +08:00
danielqsj
1058877fbf
remove dot imports in e2e/storage
2019-05-10 13:56:26 +08:00
danielqsj
8a6fede9e6
remove dot imports in e2e/storage/vsphere
2019-05-10 13:56:16 +08:00
Kubernetes Prow Robot
69b52633cc
Merge pull request #77605 from pohly/multivolume-storage-class-fix
...
Multivolume storage class fix
2019-05-09 15:48:22 -07:00
Kubernetes Prow Robot
b27fe7f4b9
Merge pull request #74314 from oomichi/add-ExpectError
...
Add ExpectError() to e2e test framework
2019-05-09 15:47:57 -07:00
Patrick Ohly
093027c891
e2e/storage: ensure that also external storage classes are unique
...
One previously undocumented expectation is that
GetDynamicProvisionStorageClass can be called more than once per test
and then each time returns a new, unique storage class. The in-memory
implementation in driveroperations.go:GetStorageClass ensured that,
but loading from a .yaml file didn't. This caused the multivolume tests
to fail when applied to an already installed GCE driver with the
-storage.testdriver parameter.
2019-05-09 08:53:25 +02:00
Kubernetes Prow Robot
b3875556b0
Merge pull request #77336 from johnSchnake/refactorFrameworkSSH
...
Move ssh code to new package
2019-05-08 13:06:47 -07:00
Kenichi Omichi
436544488b
Add ExpectError() to e2e test framework
...
There is a lot of gomega.Expect(err).To(gomega.HaveOccurred()) callers
which expect an error happens in e2e tests.
However these test code seems confusing because the code readers
need to take care of To() or NotTo() on each test scenario.
This adds ExpectError() for more readable test code.
In addition, this applies ExpectError() to e2e provisioning.go as a
sample.
2019-05-08 17:40:12 +00:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00