From c57f2ec0641e3d6b129161e3cc088432c56d5b5d Mon Sep 17 00:00:00 2001 From: Random-Liu Date: Thu, 15 Dec 2016 15:25:12 -0800 Subject: [PATCH] Fix report prefix for node conformance test. --- test/e2e_node/remote/node_conformance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e_node/remote/node_conformance.go b/test/e2e_node/remote/node_conformance.go index eb09b22dea7..b2f6de6ffe5 100644 --- a/test/e2e_node/remote/node_conformance.go +++ b/test/e2e_node/remote/node_conformance.go @@ -287,8 +287,8 @@ func (c *ConformanceRemote) RunTest(host, workspace, results, junitFilePrefix, t // Run the tests glog.V(2).Infof("Starting tests on %q", host) podManifestPath := getPodManifestPath(workspace) - cmd := fmt.Sprintf("'timeout -k 30s %fs docker run --rm --privileged=true --net=host -v /:/rootfs -v %s:%s -v %s:/var/result %s'", - timeout.Seconds(), podManifestPath, podManifestPath, results, getConformanceImageRepo()) + cmd := fmt.Sprintf("'timeout -k 30s %fs docker run --rm --privileged=true --net=host -v /:/rootfs -v %s:%s -v %s:/var/result -e TEST_ARGS=--report-prefix=%s %s'", + timeout.Seconds(), podManifestPath, podManifestPath, results, junitFilePrefix, getConformanceImageRepo()) testOutput, err := SSH(host, "sh", "-c", cmd) if err != nil { return testOutput, err