diff --git a/tests_e2e/tests/agent_update/rsm_update.py b/tests_e2e/tests/agent_update/rsm_update.py index 9f9c3c513..89c186a2f 100644 --- a/tests_e2e/tests/agent_update/rsm_update.py +++ b/tests_e2e/tests/agent_update/rsm_update.py @@ -143,7 +143,7 @@ def _prepare_agent(self) -> None: log.info( 'Executing update-waagent-conf remote script to update agent update config flags to allow and download test versions') output: str = self._ssh_client.run_command( - "update-waagent-conf Debug.DownloadNewAgents=y Debug.EnableGAVersioning=y AutoUpdate.GAFamily=Test", use_sudo=True) + "update-waagent-conf AutoUpdate.UpdateToLatestVersion=y Debug.EnableGAVersioning=y AutoUpdate.GAFamily=Test", use_sudo=True) log.info('Successfully updated agent update config \n %s', output) @staticmethod