Commit 63d979af authored by Avesh Agarwal's avatar Avesh Agarwal

Fixes following node e2e test:

[k8s.io] Kubelet metrics api when querying /stats/summary [It] it should report resource usage through the stats api And the logs show following error: Jun 21 15:57:13 localhost journal: tee: /test-empty-dir-mnt: Is a directory
parent ee87a39f
......@@ -176,7 +176,7 @@ func createSummaryTestPods(f *framework.Framework, podNamePrefix string, count i
createPod(f, podName, []api.Container{
{
Image: ImageRegistry[busyBoxImage],
Command: []string{"sh", "-c", "while true; do echo 'hello world' | tee ~/file | tee /test-empty-dir-mnt ; sleep 1; done"},
Command: []string{"sh", "-c", "while true; do echo 'hello world' | tee /test-empty-dir-mnt/file ; sleep 1; done"},
Name: podName + containerSuffix,
VolumeMounts: []api.VolumeMount{
{MountPath: "/test-empty-dir-mnt", Name: volumeNamePrefix},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment