hiwangzhihui commented on code in PR #6138:
URL: https://github.com/apache/hadoop/pull/6138#discussion_r1540406673
##########
hadoop-tools/hadoop-distcp/src/test/java/org/apache/hadoop/tools/util/TestThrottledInputStream.java:
##########
@@ -154,4 +174,57 @@ private void writeToFile(File tmpFile, long sizeInKB)
throws IOException {
IOUtils.closeStream(out);
}
}
-}
+
+ @Test
+ public void testThrottleSuccessfully() {
Review Comment:
The name of "test case" needs to be clearly defined,or comments be added
to clarify the goal of your test case.
--
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]