guluo2016 commented on code in PR #4090:
URL: https://github.com/apache/ambari/pull/4090#discussion_r2568871620


##########
ambari-agent/src/test/python/ambari_agent/TestAmbariConfig.py:
##########
@@ -63,7 +65,7 @@ def 
test_ambari_config_get_command_file_retention_policy(self):
       config.remove_option("agent", 
AmbariConfig.COMMAND_FILE_RETENTION_POLICY_PROPERTY)
     self.assertEqual(
       config.command_file_retention_policy,
-      AmbariConfig.COMMAND_FILE_RETENTION_POLICY_KEEP,
+      AmbariConfig.COMMAND_FILE_RETENTION_POLICY_REMOVE,

Review Comment:
   The value of config.command_file_retention_policy should be `"remove"`, 
otherwise, this unit test will fail.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to