Adding eventually duration in operator test file
@@ -7,6 +7,7 @@ import (
"path/filepath"
"regexp"
"strings"
+ "time"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
@@ -20,6 +21,8 @@ const (
var _ = Describe("odo service command tests for OperatorHub", func() {
BeforeEach(func() {
+ SetDefaultEventuallyTimeout(10 * time.Minute)
+ SetDefaultConsistentlyDuration(30 * time.Second)
helper.CmdShouldPass("odo", "project", "set", CI_OPERATOR_HUB_PROJECT)
// TODO: remove this when OperatorHub integration is fully baked into odo
os.Setenv("ODO_EXPERIMENTAL", "true")
