mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix report prefix for node conformance test.
This commit is contained in:
parent
845187b15a
commit
c57f2ec064
@ -287,8 +287,8 @@ func (c *ConformanceRemote) RunTest(host, workspace, results, junitFilePrefix, t
|
|||||||
// Run the tests
|
// Run the tests
|
||||||
glog.V(2).Infof("Starting tests on %q", host)
|
glog.V(2).Infof("Starting tests on %q", host)
|
||||||
podManifestPath := getPodManifestPath(workspace)
|
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'",
|
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, getConformanceImageRepo())
|
timeout.Seconds(), podManifestPath, podManifestPath, results, junitFilePrefix, getConformanceImageRepo())
|
||||||
testOutput, err := SSH(host, "sh", "-c", cmd)
|
testOutput, err := SSH(host, "sh", "-c", cmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return testOutput, err
|
return testOutput, err
|
||||||
|
Loading…
Reference in New Issue
Block a user