diff --git a/test/helpers/node.go b/test/helpers/node.go
index <HASH>..<HASH> 100644
--- a/test/helpers/node.go
+++ b/test/helpers/node.go
@@ -251,10 +251,10 @@ func (s *SSHMeta) ExecContext(ctx context.Context, cmd string, options ...ExecOp
 		wg:      &wg,
 	}
 
+	res.wg.Add(1)
 	go func(res *CmdRes) {
-		start := time.Now()
-		res.wg.Add(1)
 		defer res.wg.Done()
+		start := time.Now()
 		err := s.sshClient.RunCommandContext(ctx, command)
 		if err != nil {
 			exiterr, isExitError := err.(*ssh.ExitError)
test: add WaitGroup delta before goroutine

To avoid a WaitGroup.Wait() being executed without the
execution of Add(1), the Add(1) should be perform before a go routine
initialization.