You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2011/06/02 00:10:00 UTC

svn commit: r1130321 - in /pig/trunk: CHANGES.txt contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestBasicUnion.java

Author: daijy
Date: Wed Jun  1 22:10:00 2011
New Revision: 1130321

URL: http://svn.apache.org/viewvc?rev=1130321&view=rev
Log:
PIG-2106: Fix Zebra unit test TestBasicUnion.testNeg3, TestBasicUnion.testNeg4

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestBasicUnion.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1130321&r1=1130320&r2=1130321&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Wed Jun  1 22:10:00 2011
@@ -233,6 +233,8 @@ PIG-1696: Performance: Use System.arrayc
 
 BUG FIXES
 
+PIG-2106: Fix Zebra unit test TestBasicUnion.testNeg3, TestBasicUnion.testNeg4 (daijy)
+
 PIG-2083: bincond ERROR 1025: Invalid field projection when null is used (thejas)
 
 PIG-2089: Javadoc for ResourceFieldSchema.getSchema() is wrong (daijy)

Modified: pig/trunk/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestBasicUnion.java
URL: http://svn.apache.org/viewvc/pig/trunk/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestBasicUnion.java?rev=1130321&r1=1130320&r2=1130321&view=diff
==============================================================================
--- pig/trunk/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestBasicUnion.java (original)
+++ pig/trunk/contrib/zebra/src/test/org/apache/hadoop/zebra/pig/TestBasicUnion.java Wed Jun  1 22:10:00 2011
@@ -811,6 +811,7 @@ public class TestBasicUnion extends Base
   // should throw exception
   public void testNeg3() throws ExecException, IOException {
     try {
+      pigServer.setValidateEachStatement(true);
       pigServer.registerQuery(constructQuery(path1, path3, "'a, b'"));
       Assert.fail("should throw exception");
     } catch (Exception e) {
@@ -822,6 +823,7 @@ public class TestBasicUnion extends Base
   // should throw excepiton in union
   public void testNeg4() throws ExecException, IOException {
       try {
+      pigServer.setValidateEachStatement(true);
       pigServer.registerQuery(constructQuery(path1, path4, "'a, b, c'"));
       Assert.fail("should throw exception");
     } catch (Exception e) {