@@ -234,7 +234,7 @@ def mc_replica_set(
234234 return resource
235235
236236
237- @mark .e2e_mongodb_custom_roles
237+ @mark .e2e_mongodbmulticluster_custom_roles
238238def test_create_resources (
239239 mongodb_role_with_empty_strings : ClusterMongoDBRole ,
240240 mongodb_role_without_empty_strings : ClusterMongoDBRole ,
@@ -254,7 +254,7 @@ def test_create_resources(
254254 mc_replica_set .assert_reaches_phase (Phase .Running , timeout = 400 )
255255
256256
257- @mark .e2e_mongodb_custom_roles
257+ @mark .e2e_mongodbmulticluster_custom_roles
258258def test_automation_config_has_roles (
259259 replica_set : MongoDB ,
260260 sharded_cluster : MongoDB ,
@@ -306,7 +306,7 @@ def assert_expected_roles(
306306 )
307307
308308
309- @mark .e2e_mongodb_custom_roles
309+ @mark .e2e_mongodbmulticluster_custom_roles
310310def test_change_inherited_role (
311311 replica_set : MongoDB ,
312312 sharded_cluster : MongoDB ,
@@ -328,7 +328,7 @@ def is_role_changed(ac_tester: AutomationConfigTester):
328328 wait_until (lambda : is_role_changed (mc_replica_set .get_automation_config_tester ()))
329329
330330
331- @mark .e2e_mongodb_custom_roles
331+ @mark .e2e_mongodbmulticluster_custom_roles
332332def test_deleting_role_does_not_remove_access (
333333 replica_set : MongoDB ,
334334 sharded_cluster : MongoDB ,
@@ -355,7 +355,7 @@ def test_deleting_role_does_not_remove_access(
355355 mc_replica_set .get_automation_config_tester ().assert_has_expected_number_of_roles (expected_roles = 2 )
356356
357357
358- @mark .e2e_mongodb_custom_roles
358+ @mark .e2e_mongodbmulticluster_custom_roles
359359def test_removing_role_from_resources (replica_set : MongoDB , sharded_cluster : MongoDB , mc_replica_set : MongoDBMulti ):
360360 sharded_cluster ["spec" ]["security" ]["roleRefs" ] = None
361361 sharded_cluster .update ()
@@ -367,20 +367,20 @@ def test_removing_role_from_resources(replica_set: MongoDB, sharded_cluster: Mon
367367 wait_until (lambda : len (mc_replica_set .get_automation_config_tester ().automation_config ["roles" ]) == 0 , timeout = 120 )
368368
369369
370- @mark .e2e_mongodb_custom_roles
370+ @mark .e2e_mongodbmulticluster_custom_roles
371371def test_install_operator_with_clustermongodbroles_disabled (multi_cluster_operator_no_cluster_mongodb_roles ):
372372 multi_cluster_operator_no_cluster_mongodb_roles .assert_is_running ()
373373
374374
375- @mark .e2e_mongodb_custom_roles
375+ @mark .e2e_mongodbmulticluster_custom_roles
376376def test_replicaset_is_failed (replica_set : MongoDB ):
377377 replica_set .assert_reaches_phase (
378378 Phase .Failed ,
379379 msg_regexp = "RoleRefs are not supported when ClusterMongoDBRoles are disabled. Please enable ClusterMongoDBRoles in the operator configuration." ,
380380 )
381381
382382
383- @mark .e2e_mongodb_custom_roles
383+ @mark .e2e_mongodbmulticluster_custom_roles
384384def test_replicaset_is_reconciled_without_rolerefs (replica_set : MongoDB ):
385385 replica_set ["spec" ]["security" ]["roleRefs" ] = None
386386 replica_set .update ()
0 commit comments