Add extra log in e2e tests

Signed-off-by: Manuel Buil <mbuil@suse.com>
pull/10241/head
Manuel Buil 2024-05-23 15:13:38 +02:00
parent 99f543a2d4
commit 3f62ec3207
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ func CreateCluster(nodeOS string, serverCount, agentCount int) ([]string, []stri
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)