Documentation ¶
Index ¶
- Constants
- Variables
- func AfterTestSuiteCleanup()
- func AfterUpgradeTestSuiteCleanup()
- func BeforeTestSuiteSetup()
- func BeforeUpgradeTestSuiteSetup()
- func GetDataValidatorJob(pvc string) *k8sbatchv1.Job
- func GetRandomPVC(storageClass string, quantity string) *k8sv1.PersistentVolumeClaim
- func RunMustGather() error
Constants ¶
const StorageClassRBD = deploymanager.DefaultStorageClassRBD
StorageClassRBD is the name of the ceph rbd storage class the test suite installs
const TestNamespace = "ocs-functest"
TestNamespace is the namespace we run all the tests in.
const TestStorageCluster = deploymanager.DefaultStorageClusterName
TestStorageCluster is the name of the storage cluster the test suite installs
Variables ¶
var DeployManager *deploymanager.DeployManager
DeployManager is the suite global DeployManager
var InstallNamespace string
InstallNamespace is the namespace ocs is installed into
var OcsCatalogSourceImage string
OcsCatalogSourceImage is the OCS CatalogSource container image to use in the deployment
var OcsSubscriptionChannel string
OcsSubscriptionChannel is the name of the ocs subscription channel
var SuiteFailed = false
SuiteFailed indicates whether any test in the current suite has failed
var UpgradeFromOcsCatalogSourceImage string
UpgradeFromOcsCatalogSourceImage is the OCS CatalogSource container image to upgrade from in the deployment
var UpgradeFromOcsSubscriptionChannel string
UpgradeFromOcsSubscriptionChannel is the name of the ocs subscription channel to upgrade from
Functions ¶
func AfterTestSuiteCleanup ¶
func AfterTestSuiteCleanup()
AfterTestSuiteCleanup is the function called to tear down the test environment
func AfterUpgradeTestSuiteCleanup ¶
func AfterUpgradeTestSuiteCleanup()
AfterUpgradeTestSuiteCleanup is the function called to tear down the test environment after upgrade failure
func BeforeTestSuiteSetup ¶
func BeforeTestSuiteSetup()
BeforeTestSuiteSetup is the function called to initialize the test environment
func BeforeUpgradeTestSuiteSetup ¶
func BeforeUpgradeTestSuiteSetup()
BeforeUpgradeTestSuiteSetup is the function called to initialize the test environment to the upgrade_from version
func GetDataValidatorJob ¶
func GetDataValidatorJob(pvc string) *k8sbatchv1.Job
GetDataValidatorJob returns the spec of a job
func GetRandomPVC ¶
func GetRandomPVC(storageClass string, quantity string) *k8sv1.PersistentVolumeClaim
GetRandomPVC returns a pvc with a randomized name
func RunMustGather ¶
func RunMustGather() error
RunMustGather runs the OCS must-gather container image
Types ¶
This section is empty.