add 10 seconds sleep after helm installation
@@ -5,6 +5,7 @@ import (
"os"
"strconv"
"strings"
+ "time"
"github.com/onsi/ginkgo/config"
"github.com/pkg/errors"
@@ -68,6 +69,9 @@ func SetUpEnvironment(chartPath string) (string, environment.TearDownFunc, error
return "", nil, errors.Wrapf(err, "%s Helm install command failed.", e2eFailedMessage)
}
+ // Add sleep for workaround for CI timeouts
+ time.Sleep(10* time.Second)
+
teardownFunc := func() error {
var messages string
err = testing.DeleteSecret(namespace, "cf-operator-webhook-server-cert")
