diff --git a/tests/e2e/testutils.go b/tests/e2e/testutils.go index 628577e940..60f4c89f76 100644 --- a/tests/e2e/testutils.go +++ b/tests/e2e/testutils.go @@ -118,6 +118,7 @@ func CreateCluster(nodeOS string, serverCount int, agentCount int) ([]string, [] errg, _ := errgroup.WithContext(context.Background()) for _, node := range append(serverNodeNames[1:], agentNodeNames...) { cmd := fmt.Sprintf(`%s %s vagrant up %s &>> vagrant.log`, nodeEnvs, testOptions, node) + fmt.Println(cmd) errg.Go(func() error { if _, err := RunCommand(cmd); err != nil { return newNodeError(cmd, node, err) @@ -432,7 +433,7 @@ func RunCmdOnNode(cmd string, nodename string) (string, error) { // RunCmdOnWindowsNode executes a command from within the given windows node func RunCmdOnWindowsNode(cmd string, nodename string) (string, error) { - runcmd := "vagrant ssh -c 'powershell.exe -Command \""+ cmd + "\"' " + nodename + runcmd := "vagrant ssh -c 'powershell.exe -Command \"" + cmd + "\"' " + nodename return RunCommand(runcmd) }