pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1004722 - /hadoop/pig/trunk/test/org/apache/pig/test/TestInputOutputFileValidator.java
Date Tue, 05 Oct 2010 17:22:58 GMT
Author: daijy
Date: Tue Oct  5 17:22:58 2010
New Revision: 1004722

URL: http://svn.apache.org/viewvc?rev=1004722&view=rev
Log:
Fix TestInputOutputFileValidator failure introduced by PIG-1659

Modified:
    hadoop/pig/trunk/test/org/apache/pig/test/TestInputOutputFileValidator.java

Modified: hadoop/pig/trunk/test/org/apache/pig/test/TestInputOutputFileValidator.java
URL: http://svn.apache.org/viewvc/hadoop/pig/trunk/test/org/apache/pig/test/TestInputOutputFileValidator.java?rev=1004722&r1=1004721&r2=1004722&view=diff
==============================================================================
--- hadoop/pig/trunk/test/org/apache/pig/test/TestInputOutputFileValidator.java (original)
+++ hadoop/pig/trunk/test/org/apache/pig/test/TestInputOutputFileValidator.java Tue Oct  5
17:22:58 2010
@@ -28,6 +28,7 @@ import org.apache.pig.PigServer;
 import org.apache.pig.ResourceSchema;
 import org.apache.pig.backend.datastorage.DataStorage;
 import org.apache.pig.backend.datastorage.ElementDescriptor;
+import org.apache.pig.backend.executionengine.ExecException;
 import org.apache.pig.backend.hadoop.datastorage.ConfigurationUtil;
 import org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil;
 import org.apache.pig.builtin.PigStorage;
@@ -261,7 +262,7 @@ public class TestInputOutputFileValidato
             pig.executeBatch();
             assert false;
         }catch(Exception fe){
-        	assertTrue(fe instanceof PlanValidationException);
+        	assertTrue(fe instanceof ExecException);
         	PigException pe = LogUtils.getPigException(fe);
         	assertTrue(pe instanceof FrontendException);
         	assertEquals(1115, pe.getErrorCode());



Mime
View raw message