flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mushketyk <...@git.apache.org>
Subject [GitHub] flink pull request #2564: [FLINK-2254] Add BipartiateGraph class
Date Thu, 29 Sep 2016 22:12:57 GMT
Github user mushketyk commented on a diff in the pull request:

    --- Diff: flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestBaseUtils.java
    @@ -480,7 +480,8 @@ protected static File asFile(String path) {
    -		assertEquals("Wrong number of elements result", expectedStrings.length, resultStrings.length);
    +		assertEquals(String.format("Wrong number of elements result. Expected: %s. Result:
%s.", Arrays.toString(expectedStrings), Arrays.toString(resultStrings)),
    --- End diff --
    The issue here is that it compares lengths of objects and therefore JUnit only prints
compared numbers (say 2 and 0) and not content of arrays.

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.

View raw message