cnauroth commented on code in PR #8148:
URL: https://github.com/apache/hadoop/pull/8148#discussion_r2658175743


##########
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfigurationDeprecation.java:
##########
@@ -465,4 +472,30 @@ public void testGetPropertyBeforeDeprecetionsAreSet() 
throws Exception {
         "Property should be accessible through new key");
   }
 
+  @Test
+  public void testNoDeprecationsByDefault() throws Exception {
+    // Force initialization to make sure deprecations are recorded for later 
calls to isDeprecated.
+    new Configuration();

Review Comment:
   Thanks, [HADOOP-19769](https://issues.apache.org/jira/browse/HADOOP-19769) 
looks like a good idea to me!



-- 
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