Skip to content

Commit be6e733

Browse files
committed
bug fix
1 parent f696565 commit be6e733

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker/mongodb-kubernetes-tests/tests/authentication/helper_replica_set_switch_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_ops_manager_state_with_expected_authentication(self, expected_users: in
3939

4040
def test_switch_replica_set_project(self):
4141
original_tester = self.replica_set.get_automation_config_tester()
42-
original_automation_agent_password = original_tester.get_automation_agent_password
42+
original_automation_agent_password = original_tester.get_automation_agent_password()
4343
original_configmap = read_configmap(namespace=self.namespace, name="my-project")
4444
new_project_name = f"{self.namespace}-second"
4545
new_project_configmap = create_or_update_configmap(
@@ -55,7 +55,7 @@ def test_switch_replica_set_project(self):
5555
self.replica_set.update()
5656
self.replica_set.assert_reaches_phase(Phase.Running, timeout=600)
5757
switched_tester = self.replica_set.get_automation_config_tester()
58-
switched_automation_agent_password = switched_tester.get_automation_agent_password
58+
switched_automation_agent_password = switched_tester.get_automation_agent_password()
5959

6060
assert original_automation_agent_password == switched_automation_agent_password, (
6161
"The automation agent password changed after switching the project."

docker/mongodb-kubernetes-tests/tests/authentication/helper_sharded_cluster_switch_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_ops_manager_state_with_expected_authentication(self, expected_users: in
3939

4040
def test_switch_sharded_cluster_project(self):
4141
original_tester = self.sharded_cluster.get_automation_config_tester()
42-
original_automation_agent_password = original_tester.get_automation_agent_password
42+
original_automation_agent_password = original_tester.get_automation_agent_password()
4343
original_configmap = read_configmap(namespace=self.namespace, name="my-project")
4444
new_project_name = f"{self.namespace}-second"
4545

@@ -56,7 +56,7 @@ def test_switch_sharded_cluster_project(self):
5656
self.sharded_cluster.update()
5757
self.sharded_cluster.assert_reaches_phase(Phase.Running, timeout=800)
5858
switched_tester = self.sharded_cluster.get_automation_config_tester()
59-
switched_automation_agent_password = switched_tester.get_automation_agent_password
59+
switched_automation_agent_password = switched_tester.get_automation_agent_password()
6060

6161
assert original_automation_agent_password == switched_automation_agent_password, (
6262
"The automation agent password changed after switching the project."

0 commit comments

Comments
 (0)