Caleb Woodbine
cd314c193c
Fix linting
2020-05-28 08:36:34 +12:00
Caleb Woodbine
1db0ca74a9
Update correct resource version used, watch retry function to not close
2020-05-27 16:11:41 +12:00
Caleb Woodbine
250bb35041
Update documentation
2020-05-27 12:09:02 +12:00
Stephen Heywood
ecb68742e0
Fix golint issue
2020-05-26 23:34:53 +00:00
Stephen Heywood
b3baef5e05
Fix gofmt issues
2020-05-26 22:04:55 +00:00
Caleb Woodbine
9a77a00c7c
Fix formatting
2020-05-27 08:34:03 +12:00
Stephen Heywood
7622a794da
Use polling while deleting the collection of events
2020-05-26 02:51:44 +00:00
Stephen Heywood
cd2ad2b986
Removing extra boilerplate from test
2020-05-26 02:34:15 +00:00
Caleb Woodbine
b9c934102b
Update default retrywatcher resource version
2020-05-25 15:27:32 +12:00
Caleb Woodbine
1bdb854e7e
Add resource deleting if there wasn't a delete watch event found
2020-05-25 14:59:25 +12:00
Caleb Woodbine
9f0c24ddcf
Fix checks, amount checking
2020-05-25 13:33:48 +12:00
Caleb Woodbine
b63b147d12
Update name, watch event occurence checking
2020-05-25 11:49:57 +12:00
Kubernetes Prow Robot
bded41a817
Merge pull request #90689 from aojea/nfsv6
...
add ipv6 support to the e2e nfs tests
2020-05-21 03:30:36 -07:00
Caleb Woodbine
32e0da39fc
Update to use watcher
2020-05-21 15:58:55 +12:00
Caleb Woodbine
82d76e2d6d
Add dynamic client resource watch function
2020-05-21 10:00:17 +12:00
Caleb Woodbine
a3248a7ba8
Add documentation; Update base from invarients
2020-05-20 16:28:01 +12:00
Kubernetes Prow Robot
739a61a871
Merge pull request #91221 from gnufied/tolerate-pod-not-found
...
Tolerate pod not found errors in storage e2e
2020-05-19 16:32:33 -07:00
Hemant Kumar
155db11b73
Do not fail test if pod is not found
2020-05-19 14:16:25 -04:00
Stephen Heywood
cb7a680896
Add: test to ensure that a set of events can be removed by delete collection
2020-05-18 21:49:30 +00:00
Kubernetes Prow Robot
0d4464d014
Merge pull request #91150 from brianpursley/e2e-delete-pods
...
Add code to delete pods at the end of e2e tests to free up capacity
2020-05-18 13:33:48 -07:00
Caleb Woodbine
fcb04acd70
Add WIP watch event tooling
2020-05-18 16:32:38 +12:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
Brian Pursley
20642720c6
Added pod deletion utility methods and added code to delete remaining pods in some e2e tests to try to prevent exceeding node capacity
2020-05-15 21:21:37 -04:00
Kubernetes Prow Robot
9978c281ec
Merge pull request #90773 from gnufied/fix-csi-e2e-orphans
...
Fix CSI e2e leaving pods in terminating state
2020-05-13 22:14:21 -07:00
Hemant Kumar
da941d8d3e
Create mock CSI driver resources in different namespace
2020-05-13 11:16:00 -04:00
Hemant Kumar
708261e06c
Make AfterSuite hooks ordered
...
ginkgo has a weird bug that - AfterEach does not get called when
testsuite exits with certain kind of interrupt (Ctrl-C for example).
More info - https://github.com/onsi/ginkgo/issues/222
We workaround this issue in Kubernetes by adding a special hook into
AfterSuite call, but AfterSuite can not be used to peforms certain
kind of cleanup because it can race with AfterEach hook and
framework.AfterEach hook will set framework.ClientSet to nil.
This presents a problem in cleaning up CSI driver and testpods. This
PR removes cleanup of driver manifest via CleanupAction because that
is not safe and racy (such as f.ClientSet may disappear!) and makes
AfterSuite hooks run in a ordered fashion
2020-05-13 11:15:27 -04:00
Antonio Ojea
aa4df0422b
improve error logging on e2e pod create function
2020-05-12 13:41:56 +02:00
Kubernetes Prow Robot
c5be566b14
Merge pull request #90707 from jherrera123/fix-issue-88132
...
Make flexvolume e2e tests runnable again.
2020-05-07 07:35:15 -07:00
Kubernetes Prow Robot
3416442e4b
Merge pull request #90644 from tanjunchen/remove-controller-dependency
...
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-05-06 11:47:12 -07:00
Kubernetes Prow Robot
03a927e756
Merge pull request #90535 from gnufied/azure-zone-e2e
...
Azure - fix create azure disk PV in regions that don't have zones
2020-05-04 13:46:27 -07:00
Jesus Herrera
aeb654495b
Fix usage of incorrect TestContext variable
2020-05-03 15:34:43 -04:00
Antonio Ojea
26a00f9032
add ipv6 support to the e2e nfs tests
...
nfs mount command need to use the IP enclosed with square brackets
if is an IPv6 address
2020-05-03 11:06:10 +02:00
Kubernetes Prow Robot
7e627e01ef
Merge pull request #90640 from gongguan/clean-port-flag
...
clean some dead constants
2020-05-01 00:42:22 -07:00
Kubernetes Prow Robot
a0344973a3
Merge pull request #90591 from cofyc/fix-e2e-namespace-creation
...
e2e: regenerate namespace name if the name is already taken
2020-04-30 15:56:13 -07:00
tanjunchen
caddb3ffd3
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-04-30 23:08:33 +08:00
louisgong
9390ff35a1
clean some dead configs
2020-04-30 20:07:08 +08:00
Hemant Kumar
9d4329f62c
Check for empty zone string
2020-04-29 10:46:15 -04:00
tanjunchen
3b5ea194ea
test/e2e/framework : move AddOrUpdateTaintOnNode to subpackage node
2020-04-29 21:29:38 +08:00
Yecheng Fu
38c5da01ad
regenerate namespace name if the name is already taken
2020-04-29 17:27:52 +08:00
Aaron Crickenberger
c209fe8439
fix .import-restrictions to work with import-boss --include-test-files
...
this is mainly to ensure integration tests (which all end in _test)
are properly bossed around for their imports
I had to adjust some of the _test files to adhere to existing
reverse_rules specified elsewhere
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
81881e4a12
prune .import-restrictions
...
specifically:
- cmd/kubeadm/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
- rm pkg/controller/.import-restrictions
- pkg/client/unversioned was removed in 59042
- pkg/kubectl/.import-restrictions
- pkg/printers is no longer used
- pkg/api was masking all of the pkg/apis prefixes
- rm staging/src/k8s.io/code-generator/cmd/lister-gen/.import-restrictions
- noop / empty file
- test/e2e/framework/.import-restrictions
- we don't need to explicitly allow k8s.io repos (external or published)
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
f306a0dbb4
convert .import-restrictions to yaml
...
yaml has comments, so we can explain why we have certain rules or
certain prefixes
for those files that weren't already commented yaml, I converted them to
yaml and took a best guess at comments based on the PRs that introduced
or updated them
2020-04-28 08:41:36 -07:00
Kubernetes Prow Robot
f86bf71dbe
Merge pull request #89560 from gavinfish/direct-k8s-pod
...
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-27 22:26:05 -07:00
Hemant Kumar
850da22c02
Azure - do not use 0 zone or empty string for zone when creating PVs
2020-04-27 17:14:50 -04:00
Tomas Nozicka
c62db98e95
Update Bazel
2020-04-23 17:27:13 +02:00
Tomas Nozicka
df8994c202
Fix watches in e2e framework
2020-04-23 17:17:26 +02:00
Kubernetes Prow Robot
c12aeb2b77
Merge pull request #89753 from ii/promote-event-resource-lifecycle-test
...
Promote Event resource lifecycle test +5 test endpoint coverage
2020-04-23 03:57:45 -07:00
Laszlo Janosi
af33c2f7e8
Add CreateSCTPServiceWithPort() to the framework in preparation for the coming SCTP e2e tests
2020-04-22 15:59:59 +00:00
Lubomir I. Ivanov
820c87c069
remove kubernetes-anywhere from this repository
...
The project has been deprecated since Dec 2018 and is unused.
Cleanup in:
- /test/e2e/framework/
- /cluster/
2020-04-21 22:52:51 +03:00