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
Derek Carr
7eb37a7497
Add support to size memory backed volumes
2020-11-06 09:35:14 -05:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names ( #96033 )
...
* Rename const for topology.../zone
* Rename const for topology.../region
* Rename const for failure-domain.../zone
* Rename const for failure-domain.../region
* Restore old names for compat
2020-11-05 20:26:50 -08:00
Kubernetes Prow Robot
f00ec1b449
Merge pull request #95679 from EdDev/test-e2e-remove-w8-4-pod-running-after-createsync
...
test, e2e: Remove duplication when using PodClient.CreateSync
2020-10-27 15:32:11 -07:00
Kubernetes Prow Robot
6b7e8070b6
Merge pull request #94796 from harche/rtclass_test
...
Move the RuntimeClass tests out of node-kubelet-orphans
2020-10-20 13:44:20 -07:00
Edward Haas
c104671401
test, e2e: Remove duplication when using PodClient.CreateSync
...
The CreateSync method includes the waiting for the pod to become running
and returns a fresh new pod instance.
In addition, errors are asserted in the method.
Therefore, there is no need for the callers to repeat these operations.
Some, like the error assertions, will never be reached in case they
occur as they will explode from within the method itself.
Signed-off-by: Edward Haas <edwardh@redhat.com>
2020-10-18 15:42:06 +03:00
Kubernetes Prow Robot
f738e5b320
Merge pull request #94440 from claudiubelu/tests/agnhost-usage-refactor-2
...
tests: Refactor agnhost image pod usage - common (part 1)
2020-10-16 14:58:12 -07:00
Kubernetes Prow Robot
128b697d55
Merge pull request #95276 from jayunit100/95216_ginkgo
...
Have udp tests return idiomatic ginkgo errors, update reporting of mutating parts
2020-10-07 10:44:15 -07:00
Kubernetes Prow Robot
5e44d8ebaf
Merge pull request #95015 from Jefftree/bdd-remove-dependency
...
Remove dependency on behaviors for conformance walk.go
2020-10-05 13:04:19 -07:00
jay vyas
56def96d9d
Update DialFromNode to return values as is done w/ other tests. Update
...
comments to clarify missing probability check function (since they need
to be updated anyways b/c of the return value introduced)
2020-10-04 15:59:20 -04:00
Claudiu Belu
c99b18580d
tests: Refactor agnhost image pod usage - common (part 1)
...
A previous commit added a few agnhost related functions that creates agnhost
pods / containers for general purposes.
Refactors tests to use those functions.
2020-09-26 05:29:33 -07:00
Kubernetes Prow Robot
807db805c3
Merge pull request #94969 from wojtek-t/list_all_namespaces_lease
...
Add test for listing Leases from all namespace
2020-09-24 13:57:39 -07:00
Jefftree
fe972b8f2f
Remove dependency on behaviors for conformance generation
2020-09-23 13:28:06 -07:00
Kubernetes Prow Robot
61490bba46
Merge pull request #93837 from jayunit100/DialFromContainerB
...
intra-pod test improvements for bug-triage and node-level reporting
2020-09-22 12:22:50 -07:00
wojtekt
a65fec2a8a
Add test for listing Leases from all namespace
2020-09-22 14:27:49 +02:00
Harshal Patil
feea9f3708
Move the RuntimeClass tests out of node-kubelet-orphans
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-09-15 12:51:38 +05:30
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
Matthew Fenwick
81219ca9d2
address review comments
2020-09-02 21:49:45 -04: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
Matthew Fenwick
14fe811563
back out conversion of DialFromNode->DialFromTestContainer
2020-08-12 13:11:51 -04:00
jay vyas
56e2adbd79
implement breadth first try
2020-08-11 11:32:46 -04:00
jay vyas
ccbfa84173
golint
...
flip logging messages
run pod->node conformance tests the same way
2020-08-10 15:46:49 -04:00
jay vyas
35f5e8e66f
minor logic fix
2020-08-09 16:45:51 -04:00
jay vyas
84f7d1e636
e2e test intra-pod breadth first logging and summary
...
gofmt
2020-08-09 16:35:03 -04: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