Documentation
¶
Index ¶
Constants ¶
const Namespace = "test-dependents"
Variables ¶
This section is empty.
Functions ¶
func TestCephObjectStoreDependents ¶
func TestCephObjectStoreDependents(t *testing.T, k8sh *utils.K8sHelper, installer *installer.CephInstaller, namespace string, tlsEnable bool)
TestCephObjectStoreDependents verifies a CephObjectStore's deletion is blocked while it has dependents (a CephObjectStoreUser and an OBC bucket) and completes once they are gone. Deleting a store is destructive, so — unlike the other object packages — it does not take the shared fixture; it builds its own store, which coexists with the shared store in the same cluster namespace.
The store must be classic: the operator only checks for user and bucket dependents on a non-multisite store (or a master zone), so a multisite store here would delete unblocked and the test would assert nothing.
Types ¶
This section is empty.