mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
De-flake ephemeral containers e2e test
The test waits for the container to be running, but the test command sleeps for 2 seconds before writing output, creating a race.
This commit is contained in:
parent
fa1b6765d5
commit
28bd71c291
@ -61,7 +61,7 @@ var _ = SIGDescribe("Ephemeral Containers [NodeFeature:EphemeralContainers]", fu
|
||||
EphemeralContainerCommon: v1.EphemeralContainerCommon{
|
||||
Name: ecName,
|
||||
Image: imageutils.GetE2EImage(imageutils.BusyBox),
|
||||
Command: e2epod.GenerateScriptCmd("while true; do sleep 2; echo polo; done"),
|
||||
Command: e2epod.GenerateScriptCmd("while true; do echo polo; sleep 2; done"),
|
||||
Stdin: true,
|
||||
TTY: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user