openshift-tests: fix upgrade test suites reference to controlplane availability tests
@@ -13,6 +13,7 @@ import (
"github.com/openshift/origin/pkg/test/ginkgo"
"github.com/openshift/origin/test/e2e/upgrade"
+ "github.com/openshift/origin/test/extended/util/disruption/controlplane"
)
// upgradeSuites are all known upgade test suites this binary should run
@@ -39,7 +40,9 @@ var upgradeSuites = []*ginkgo.TestSuite{
return strings.Contains(name, "[Feature:ClusterUpgrade]") && strings.Contains(name, "[Suite:openshift]")
},
Init: func(opt map[string]string) error {
- return upgradeInitArguments(opt, func(name string) bool { return name == "control-plane-available" })
+ return upgradeInitArguments(opt, func(name string) bool {
+ return name == controlplane.NewKubeAvailableTest().Name() || name == controlplane.NewKubeAvailableTest().Name()
+ })
},
TestTimeout: 240 * time.Minute,
},
