You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by pnowojski <gi...@git.apache.org> on 2017/08/17 10:17:15 UTC

[GitHub] flink pull request #4558: [FLINK-7056][tests][hotfix] make sure the client a...

Github user pnowojski commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4558#discussion_r133674886
  
    --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/blob/BlobClientTest.java ---
    @@ -139,30 +139,35 @@ private static BlobKey prepareTestFile(File file) throws IOException {
     	 * the specified buffer.
     	 * 
     	 * @param inputStream
    -	 *        the input stream returned from the GET operation
    +	 *        the input stream returned from the GET operation (will be closed by this method)
     	 * @param buf
     	 *        the buffer to compare the input stream's data to
     	 * @throws IOException
     	 *         thrown if an I/O error occurs while reading the input stream
     	 */
     	static void validateGet(final InputStream inputStream, final byte[] buf) throws IOException {
    --- End diff --
    
    `s/validateGet/validateGetAndClose/g` - to avoid surprises for the function users :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---