Patrick Ohly
0e8a1f1816
e2e: remove redundant spaces in test names
...
The spaces are redundant because Ginkgo will add them itself when concatenating
the different test name components. Upcoming change in the framework will
enforce that there are no such redundant spaces.
2023-09-29 08:30:57 +02:00
Kubernetes Prow Robot
160fe010f3
Merge pull request #120464 from gjkim42/deflake-container-lifecycle-e2e-test
...
e2e_node: Assign enough time to finish the postStart hook
2023-09-12 17:44:44 -07:00
Todd Neal
af151eeba2
specifically check that the pod was successful
2023-09-12 13:40:20 -05:00
Gunju Kim
1fb4eee94e
Use container log instead of termination log
...
Since the termination log cannot be accessed until the container is
terminated, use the container log.
2023-09-11 22:55:09 +09:00
Gunju Kim
b468e4eb1c
e2e_node: Assign enough time to finish the postStart hook
...
This deflakes the "Containers Lifecycle should not launch second
container before PostStart of the first container completed" test by
assigning enough time to finish the postStart hook.
2023-09-07 00:42:54 +09:00
Gunju Kim
63177db32c
Add an e2e test for the pod sandbox changed scenario
...
This adds an e2e test to ensure that a pod should restart its containers
in right order after the pod sandbox is changed.
2023-09-01 00:13:47 +09:00
Todd Neal
e258228e4a
use a buffer equivalent to grace period to eliminate test flakes
...
This modifies the test to wait up to 2x the grace period for the pod to
be removed.
2023-08-11 14:08:11 -05:00
Gunju Kim
3bf282652f
Allow restartable init containers to have lifecycle
2023-07-18 08:12:24 +09:00
Gunju Kim
8fb5b6eb4c
node-e2e: Add container lifecycle e2e tests for preStop hook
...
This ensures that the container's pre-stop hook is invoked if the
startup or liveness probe fails.
2023-07-10 08:55:48 +09:00
Gunju Kim
03c2217687
Sidecar: Add e2e tests
...
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2023-07-08 07:26:12 +09:00
Stanislav Laznicka
7f532891c9
e2e tests: set all PSa labels instead of just enforcing
2023-06-21 15:05:13 +02:00
Gunju Kim
f520f6fd06
Add Pod Termination e2e tests to test termination grace period seconds
2023-06-04 01:12:02 +08:00
Todd Neal
28c573358b
test for init container restarts
...
Refactor tests and add an additional one to ensure init containers
don't restart upon regular container restart.
2023-04-28 13:13:55 -05:00