Skip to content

Commit 32db1b2

Browse files
committed
Rename E2E test
1 parent dfdfa65 commit 32db1b2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/mongodb-kubernetes-tests/tests/authentication/replica_set_custom_roles.py renamed to docker/mongodb-kubernetes-tests/tests/authentication/replica_set_ldap_custom_roles.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ def ldap_user_mongodb(
5151
return user
5252

5353

54-
@mark.e2e_replica_set_custom_roles
54+
@mark.e2e_replica_set_ldap_custom_roles
5555
def test_replica_set(replica_set: MongoDB):
5656
replica_set.assert_reaches_phase(Phase.Running, timeout=400)
5757

5858

59-
@mark.e2e_replica_set_custom_roles
59+
@mark.e2e_replica_set_ldap_custom_roles
6060
def test_create_ldap_user(replica_set: MongoDB, ldap_user_mongodb: MongoDBUser):
6161
ldap_user_mongodb.assert_reaches_phase(Phase.Updated)
6262

@@ -65,7 +65,7 @@ def test_create_ldap_user(replica_set: MongoDB, ldap_user_mongodb: MongoDBUser):
6565
ac.assert_expected_users(1)
6666

6767

68-
@mark.e2e_replica_set_custom_roles
68+
@mark.e2e_replica_set_ldap_custom_roles
6969
def test_new_ldap_users_can_write_to_database(replica_set: MongoDB, ldap_user_mongodb: MongoDBUser):
7070
tester = replica_set.tester()
7171

@@ -78,7 +78,7 @@ def test_new_ldap_users_can_write_to_database(replica_set: MongoDB, ldap_user_mo
7878
)
7979

8080

81-
@mark.e2e_replica_set_custom_roles
81+
@mark.e2e_replica_set_ldap_custom_roles
8282
@mark.xfail(reason="The user should not be able to write to a database/collection it is not authorized to write on")
8383
def test_new_ldap_users_can_write_to_other_collection(replica_set: MongoDB, ldap_user_mongodb: MongoDBUser):
8484
tester = replica_set.tester()
@@ -92,7 +92,7 @@ def test_new_ldap_users_can_write_to_other_collection(replica_set: MongoDB, ldap
9292
)
9393

9494

95-
@mark.e2e_replica_set_custom_roles
95+
@mark.e2e_replica_set_ldap_custom_roles
9696
@mark.xfail(reason="The user should not be able to write to a database/collection it is not authorized to write on")
9797
def test_new_ldap_users_can_write_to_other_database(replica_set: MongoDB, ldap_user_mongodb: MongoDBUser):
9898
tester = replica_set.tester()
@@ -105,7 +105,7 @@ def test_new_ldap_users_can_write_to_other_database(replica_set: MongoDB, ldap_u
105105
)
106106

107107

108-
@mark.e2e_replica_set_custom_roles
108+
@mark.e2e_replica_set_ldap_custom_roles
109109
def test_automation_config_has_roles(replica_set: MongoDB):
110110
tester = replica_set.get_automation_config_tester()
111111

0 commit comments

Comments
 (0)