All 4 unit test cases for Pig streaming fails on Windows
--------------------------------------------------------

                 Key: PIG-156
                 URL: https://issues.apache.org/jira/browse/PIG-156
             Project: Pig
          Issue Type: Bug
         Environment: Windows XP
            Reporter: Xu Zhang
            Priority: Blocker


All 4 test cases in TestStreaming.java fails on Windows. Since now Windows is 
an officially supported platform by Pig, which means builds and unit tests 
should succeed on it, I gave this bug a priority of "Blocker". 

Here is a sample output of TestStreaming on Windows:

{noformat}
Testcase: testSimpleMapSideStreaming took 27.691 sec
        Caused an ERROR
expected:<(A, 5)> but was:<null>
Java.lang.AssertionError: expected:<(A, 5)> but was:<null>
        at org.junit.Assert.fail(Assert.java:69)
        at org.junit.Assert.failNotEquals(Assert.java:314)
        at org.junit.Assert.assertEquals(Assert.java:94)
        at org.junit.Assert.assertEquals(Assert.java:104)
        at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111)
        at 
org.apache.pig.test.TestStreaming.testSimpleMapSideStreaming(TestStreaming.java:75)

Testcase: testSimpleMapSideStreamingWithOutputSchema took 23.63 sec
        Caused an ERROR
expected:<(C, 8)> but was:<null>
java.lang.AssertionError: expected:<(C, 8)> but was:<null>
        at org.junit.Assert.fail(Assert.java:69)
        at org.junit.Assert.failNotEquals(Assert.java:314)
        at org.junit.Assert.assertEquals(Assert.java:94)
        at org.junit.Assert.assertEquals(Assert.java:104)
        at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111)
        at 
org.apache.pig.test.TestStreaming.testSimpleMapSideStreamingWithOutputSchema(TestStreaming.java:102)

Testcase: testSimpleReduceSideStreamingAfterFlatten took 13.494 sec
        Caused an ERROR
expected:<(A, 5)> but was:<null>
java.lang.AssertionError: expected:<(A, 5)> but was:<null>
        at org.junit.Assert.fail(Assert.java:69)
        at org.junit.Assert.failNotEquals(Assert.java:314)
        at org.junit.Assert.assertEquals(Assert.java:94)
        at org.junit.Assert.assertEquals(Assert.java:104)
        at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111)
        at 
org.apache.pig.test.TestStreaming.testSimpleReduceSideStreamingAfterFlatten(TestStreaming.java:131)

Testcase: testSimpleOrderedReduceSideStreamingAfterFlatten took 19.866 sec
        Caused an ERROR
expected:<(A, 1, 2, 3)> but was:<null>
java.lang.AssertionError: expected:<(A, 1, 2, 3)> but was:<null>
        at org.junit.Assert.fail(Assert.java:69)
        at org.junit.Assert.failNotEquals(Assert.java:314)
        at org.junit.Assert.assertEquals(Assert.java:94)
        at org.junit.Assert.assertEquals(Assert.java:104)
        at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111)
        at 
org.apache.pig.test.TestStreaming.testSimpleOrderedReduceSideStreamingAfterFlatten(TestStreaming.java:175)
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to