Browse Source

Add extra log in e2e tests

Signed-off-by: Manuel Buil <mbuil@suse.com>
pull/10241/head
Manuel Buil 6 months ago
parent
commit
3f62ec3207
  1. 1
      tests/e2e/testutils.go

1
tests/e2e/testutils.go

@ -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)

Loading…
Cancel
Save