Kenichi Omichi
12c0eaef25
Use ExpectNoError(err)
...
We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
2020-09-03 23:29:07 +00:00
Kubernetes Prow Robot
ef1655f691
Merge pull request #93963 from claudiubelu/tests/fixes-expansion-tests-negative-test
...
Fixes variable expansion false positive
2020-08-27 16:07:47 -07:00
Matthias Bertschy
ea14585500
Remove StartupProbe featuregate and related logic
2020-08-22 15:09:52 +02:00
Claudiu Belu
8ca08f1ced
tests: Use Windows absolute path on Windows pods
...
The test "should fail substituting values in a volume subpath with absolute path" creates a pod
with a variable expansion path which is set as an absolute path. However "/tmp" is not an absolute
on Windows, it has to be prefixed with the drive letter (C:\tmp). But C:\tmp does not typically
exist on Windows nodes, so we use C:\Users instead.
2020-08-18 13:39:31 -07:00
Claudiu Belu
72a26aed7d
tests: Fixes variable expansion false positive test
...
Some of the tests are negative test cases which are supposed to ensure that those
invalid usecases are handled properly.
However, some of the tests are false positives, they can pass due to various reasons.
One such example is: "should fail substituting values in a volume subpath with absolute path".
This test can pass if:
- the Pod cannot start due to various reasons (e.g.: the container image cannot be pulled or does
not exist).
- the Pod ran to completion, even though the container was not supposed to start in the first place.
2020-07-31 01:23:09 -07:00
Kubernetes Prow Robot
20fbf09c3e
Merge pull request #93551 from brianpursley/runtimeclass-e2e-fix
...
Remove special case for node e2e tests when expecting pod rejection
2020-07-30 23:53:06 -07:00
Jefftree
ace97738e2
Update formatting of conformance comment
2020-07-29 20:50:44 -07:00
Brian Pursley
6029346d0d
Remove special case for node e2e tests when expecting pod rejection
2020-07-29 22:28:03 -04: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
05163497bc
Fix bazel build
2020-07-20 11:15:57 +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
Kubernetes Prow Robot
8c300565c2
Merge pull request #90941 from ii/ii-promote-configmap-lifecycle
...
Promote: ConfigMap Lifecycle test - +2 conformance endpoint coverage
2020-07-15 15:28:48 -07:00
Stephen Heywood
44cd9d3cfe
Promote delete collection pods e2e test to conformance
2020-07-14 02:56:54 +00:00
Kubernetes Prow Robot
cccb28bb5e
Merge pull request #92812 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-template-test
...
Promote DeleteCoreV1CollectionNamespacedPodTemplate test+promote - +1 endpoint
2020-07-10 15:43:01 -07:00
Stephen Heywood
9520a87488
Fix metadata formatting
2020-07-09 21:16:22 +00:00
Kubernetes Prow Robot
1f89f42602
Merge pull request #92621 from spiffxp/simplify-configmap-lifecycle-test
...
Simplify ConfigMap lifecycle e2e test
2020-07-09 09:07:31 -07:00
Kubernetes Prow Robot
d9b084a9d1
Merge pull request #89629 from fatedier/subpath
...
Modified subpath configmap mount fails when container restarts
2020-07-09 09:06:32 -07:00
Kubernetes Prow Robot
2e6d06c13a
Merge pull request #92479 from ii/heyste-delete-core-v1-collection-namespaced-pod-test
...
Create deleteCoreV1CollectionNamespacedPod test - +1 endpoint coverage
2020-07-09 00:05:10 -07:00
fatedier
78b5003e88
update e2e test
2020-07-03 20:31:00 +08:00
Stephen Heywood
0da98ad96f
Promote: PodTemplate delete a collection test
2020-07-03 00:02:58 +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
alejandrox1
4338053d8f
Renamed image "white lists" to pre-pull image lists in test
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-07-01 13:48:47 -04:00
Stephen Heywood
eb8ddc464a
Add check on deleteCollection, improve logging
2020-07-01 02:46:34 +00:00
Aaron Crickenberger
225e7c75b5
Reorder checks slightly, add a list-by-namespace call
...
Now the test covers 6 different api calls
- verify create with a get
- verify patch with a list (all namespaces)
- verify delete with a list (single namespace)
2020-06-29 19:03:44 -07:00
Aaron Crickenberger
121676e220
Drop the use of watchtools
...
The thing is, for this test at least, I'm pretty sure there's nothing
we need to wait on. Instead of waiting for a deleted event, we will
relist configmaps and expect 0, to confirm the deletion took effect
2020-06-29 19:02:15 -07:00
Aaron Crickenberger
0a869ac043
Use different resource versions each time
...
In this way, we avoid having to skip over "stale" watch events. The
downside is having to keep track of the previous resource version.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
4582e26ae1
Now use the stock watchtools.Until
...
By passing in the same initial resource version each time, we get
all watch events from the beginning each time.
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
1048dddc36
For grins, make the watch checks very detailed
...
So we know we're not just seeing an arbitrary watch event, we're
seeing _the_ watch event that describes the results of our actions
2020-06-29 14:53:10 -07:00
Aaron Crickenberger
9fb05616ca
Drop WatchSequenceEventVerifier from configmap lifecycle test
...
Collecting events in a certain order and then verifying the order in
which they were collected feels redundant.
2020-06-29 14:53:10 -07:00
Stephen Heywood
832e4718da
Ensure that a set of pods can be removed by delete collection
2020-06-24 05:47:34 +00:00
Caleb Woodbine
d9ca8498db
Update conformance metadata to have release version v1.19
2020-06-24 09:30:50 +12:00
Caleb Woodbine
b4ee99c465
Fix formatting
2020-06-24 09:30:50 +12:00