Stephen Heywood
16480d8ec0
Promote Pod/PodStatus lifecycle e2e test to Conformance
2020-11-12 12:21:40 +13:00
Stephen Heywood
36f4527956
Add constant PodReadyTimeout to e2e test
2020-11-07 08:21:15 +13:00
Stephen Heywood
079764ebd5
Adjusted timings and management of pods in e2e test
2020-11-07 08:21:15 +13:00
Caleb Woodbine
6035ccd46c
Create Pod+PodStatus resource lifecycle test
2020-11-07 08:21:15 +13:00
Jefftree
fe972b8f2f
Remove dependency on behaviors for conformance generation
2020-09-23 13:28:06 -07:00
Jefftree
ace97738e2
Update formatting of conformance comment
2020-07-29 20:50:44 -07:00
Kubernetes Prow Robot
5ca6d567c4
Merge pull request #93086 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-test
...
Promote Delete Collection Pods e2e test to conformance +1 endpoint coverage
2020-07-28 19:25:48 -07:00
Kubernetes Prow Robot
607c5daabd
Merge pull request #93405 from liggitt/revert-pod-lifecycle-flake
...
Revert "Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 04:30:22 -07:00
Kubernetes Prow Robot
55476fb872
Merge pull request #93373 from liggitt/deflake-pod-collection
...
Delete pod collection immediately
2020-07-24 02:08:22 -07:00
Jordan Liggitt
bf6f87c637
Revert "Merge pull request 90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 00:24:27 -04:00
Jordan Liggitt
6ef0fa6244
Delete pod collection immediately
2020-07-23 00:01:46 -04:00
Caleb Woodbine
642bed3c6c
Update test images to use conformance images
2020-07-23 14:13:40 +12:00
Caleb Woodbine
080ad0990a
Add logs for Pod observations while watching for a running state
2020-07-22 16:44:18 +12:00
Caleb Woodbine
a0861aeb52
Fix fmt and staticcheck
2020-07-22 15:23:56 +12:00
Caleb Woodbine
d26cb7150a
Remove created check
2020-07-22 13:55:29 +12:00
Caleb Woodbine
d60a57ad73
Update watches to use watchtools.Until, namespace var name
2020-07-22 10:33:55 +12:00
Caleb Woodbine
bd34e1c445
Fix label patch and check
2020-07-22 10:07:18 +12:00
Caleb Woodbine
dc30156fb8
Update error handling formatting, handling of type conversion in watch event loop
2020-07-20 10:03:49 +12:00
Caleb Woodbine
6e04fbdde1
Update error statements
2020-07-20 10:03:49 +12:00
Caleb Woodbine
a2c19d7ae0
Add watch checks
2020-07-20 10:03:49 +12:00
Caleb Woodbine
a4e29f2481
Fix formatting
2020-07-20 10:03:49 +12:00
Caleb Woodbine
cb7835bcb0
Add check for unmarshalling onto a Pod object type
2020-07-20 10:03:49 +12:00
Caleb Woodbine
c6a86b5fed
Fix test to use values from v1, wording; Update variables to be more templatable
2020-07-20 10:03:49 +12:00
Caleb Woodbine
47cd8dde56
Update to check response data of UpdateStatus instead of listing after updating the status
2020-07-20 10:03:49 +12:00
Caleb Woodbine
19e9368eb8
Create Pod+PodStatus resource lifecycle test
2020-07-20 10:03:49 +12:00
Stephen Heywood
44cd9d3cfe
Promote delete collection pods e2e test to conformance
2020-07-14 02:56:54 +00:00
Stephen Heywood
bcd7d08616
Reduce log verbosity
2020-07-01 21:04:59 +00:00
Stephen Heywood
ec949fc50b
Update to keep logging consistent
2020-07-01 19:43:44 +00:00
Stephen Heywood
eb8ddc464a
Add check on deleteCollection, improve logging
2020-07-01 02:46:34 +00:00
Stephen Heywood
832e4718da
Ensure that a set of pods can be removed by delete collection
2020-06-24 05:47:34 +00:00
Jefftree
ceb67482c4
link 2 pod conformance tests with behaviors
2020-05-18 23:35:25 -07:00
Aaron Crickenberger
1a5f6906e0
e2e: don't use kubelet api to verify pod deletion
...
Conformance tests must not rely on the kubelet API in order to
pass. In this case, I think it's unnecessary to verify that a
kubelet observes the deletion within gracePeriod seconds. The
remaining checks in this test verify that pod deletion happens,
and that the pod is removed.
2020-04-01 08:28:27 -07:00
tanjunchen
aa9d06d79b
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket
2020-03-24 22:54:35 +08:00
Kenichi Omichi
d191660c25
Use e2epod.WaitForPodTerminatedInNamespace directly
...
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodTerminated() with the e2epod function.
2020-03-22 17:43:33 +00:00
Kenichi Omichi
2c8955fd4a
Use e2epod.WaitForPodNameRunningInNamespace directly
...
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodRunning() with the e2epod function.
2020-03-17 00:13:14 +00:00
Mike Danese
aaf855c1e6
deref all calls to metav1.NewDeleteOptions that are passed to clients.
...
This is gross but because NewDeleteOptions is used by various parts of
storage that still pass around pointers, the return type can't be
changed without significant refactoring within the apiserver. I think
this would be good to cleanup, but I want to minimize apiserver side
changes as much as possible in the client signature refactor.
2020-03-05 14:59:46 -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
Kubernetes Prow Robot
40750a02fa
Merge pull request #84425 from yutedz/e2e-pods-const
...
Declare constants in pods test as const
2019-12-17 06:18:00 -08:00
Jordan Liggitt
c62d6add9b
Deflake pod readiness e2e
2019-12-03 09:15:04 -05:00
tanjunchen
52ac2783bc
use framework refactor code in test/e2e/common
2019-11-28 18:03:01 +08:00
Kubernetes Prow Robot
e86878436f
Merge pull request #84410 from jfbai/move-funcs-of-expect-to-common
...
move funcs of expect.go to e2e/common
2019-10-29 19:54:52 -07:00
Ted Yu
e31c7cb193
Declare constants in pods test as const
2019-10-27 14:02:52 -07:00
Jianfei Bai
7401f2fe9b
move funcs of expect.go to e2e/common
2019-10-27 11:54:32 +08:00
tanjunchen
33dda68788
fix staticcheck in test/e2e/common directory
2019-10-12 11:30:47 +08:00
YuikoTakada
9ed2f632cc
use log functions of core framework
2019-09-26 02:45:07 +00:00
WanLinghao
e43572f02b
Move pod related functions file in test/e2e/framework/util.go to its sub direcotry
2019-07-31 13:53:41 +08:00
Kubernetes Prow Robot
614aab80f5
Merge pull request #78740 from oomichi/extend-check
...
Make the check strict to use ExpectNoError()
2019-07-30 01:59:04 -07:00
ClarkLee
867c88471f
Use ExpectEqual in e2e/common
2019-07-04 13:50:19 +08:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00