You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2016/10/13 20:17:20 UTC

[jira] [Commented] (BIGTOP-2549) "Expected" and "actual" values are mistakenly switched in some JUnit method invocation

    [ https://issues.apache.org/jira/browse/BIGTOP-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15573047#comment-15573047 ] 

Konstantin Boudnik commented on BIGTOP-2549:
--------------------------------------------

Seems to be in order by looking at it. Committing.

> "Expected" and "actual" values are mistakenly switched in some JUnit method invocation
> --------------------------------------------------------------------------------------
>
>                 Key: BIGTOP-2549
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2549
>             Project: Bigtop
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 1.1.0
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: BIGTOP-2549.1.patch
>
>
> I ran hdfs smoke test, and got the following result:
> {code}
> org.apache.bigtop.itest.hadoop.hdfs.TestTextSnappy > testTextSnappy STANDARD_OUT
>     hadoop fs -text testtextsnappy.1475725399538/part-00001.snappy
>     Failed command: hadoop fs -text testtextsnappy.1475725399538/part-00001.snappy
> (snip)
>     Expected output:
>     1	rafferty	31
>     2	jones	33
>     3	steinberg	33
>     Actual output:
> org.apache.bigtop.itest.hadoop.hdfs.TestTextSnappy > testTextSnappy FAILED
>     org.junit.ComparisonFailure: Incorrect output expected:<[]> but was:<[1	rafferty	31
>     2	jones	33
>     3	steinberg	33]>
>         at org.junit.Assert.assertEquals(Assert.java:115)
> (snip)
> {code}
> "Expected" and "actual" outputs were swapped between the above two messages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)