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:
@@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user