Skip to content

Commit a95ac8f

Browse files
committed
rename test
1 parent c9eed83 commit a95ac8f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.evergreen-tasks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ tasks:
250250
commands:
251251
- func: "e2e_test"
252252

253-
- name: e2e_mongodb_custom_roles
253+
- name: e2e_mongodbmulticluster_custom_roles
254254
tags: [ "patch-run" ]
255255
commands:
256256
- func: "e2e_test"

.evergreen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ task_groups:
917917
- e2e_tls_x509_configure_all_options_sc
918918
- e2e_tls_x509_sc
919919
- e2e_meko_mck_upgrade
920-
- e2e_mongodb_custom_roles
920+
- e2e_mongodbmulticluster_custom_roles
921921
- e2e_sharded_cluster_oidc_m2m_group
922922
- e2e_sharded_cluster_oidc_m2m_user
923923
- e2e_mongodbmulticluster_multi_cluster_oidc_m2m_group

docker/mongodb-kubernetes-tests/tests/authentication/mongodb_custom_roles.py renamed to docker/mongodb-kubernetes-tests/tests/authentication/mongodbmulticluster_custom_roles.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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
238238
def 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
258258
def 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
310310
def 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
332332
def 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
359359
def 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
371371
def 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
376376
def 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
384384
def test_replicaset_is_reconciled_without_rolerefs(replica_set: MongoDB):
385385
replica_set["spec"]["security"]["roleRefs"] = None
386386
replica_set.update()

0 commit comments

Comments
 (0)