ceph: refactor integration tests for simplification

The integration tests have long been painful to maintain with
settings in various places and copied to multiple types,
inconsistent variable names, and otherwise difficult to maintain
code. Now the settings for a test suite are all in one place and
they remain in the same settings type throughout the test.
The multi-cluster suite is also refactored to use the same install
and uninstall helpers as the other suites.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen committed 2021-03-17 11:26:10 -06:00
1 parent f50e49be3a
commit c23238cddb
36 files changed
+1307 -3933

No files matched your search

@@ -142,6 +142,7 @@ func IsReadyToReconcile(c client.Client, clustercontext *clusterd.Context, names
}
}
logger.Debugf("%q: CephCluster %q initial reconcile is not complete yet...", controllerName, namespacedName.Namespace)
return cephCluster, false, cephClusterExists, WaitForRequeueIfCephClusterNotReady
}