You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ch...@apache.org on 2014/06/08 02:49:31 UTC

svn commit: r1601190 - in /pig/trunk: CHANGES.txt test/org/apache/pig/parser/TestErrorHandling.java

Author: cheolsoo
Date: Sun Jun  8 00:49:31 2014
New Revision: 1601190

URL: http://svn.apache.org/r1601190
Log:
PIG-3991: TestErrorHandling.tesNegative7 is broken in trunk/branch-0.13 (cheolsoo)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/test/org/apache/pig/parser/TestErrorHandling.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1601190&r1=1601189&r2=1601190&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Sun Jun  8 00:49:31 2014
@@ -173,6 +173,8 @@ PIG-3882: Multiquery off mode execution 
  
 BUG FIXES
 
+PIG-3991: TestErrorHandling.tesNegative7 is broken in trunk/branch-0.13 (cheolsoo)
+
 PIG-3990: ant docs is broken in trunk/branch-0.13 (cheolsoo)
 
 PIG-3989: PIG_OPTS does not work with some version of HADOOP (daijy)

Modified: pig/trunk/test/org/apache/pig/parser/TestErrorHandling.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/parser/TestErrorHandling.java?rev=1601190&r1=1601189&r2=1601190&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/parser/TestErrorHandling.java (original)
+++ pig/trunk/test/org/apache/pig/parser/TestErrorHandling.java Sun Jun  8 00:49:31 2014
@@ -135,7 +135,7 @@ public class TestErrorHandling {
             pig.registerQuery( query );
         } catch(FrontendException ex) {
             System.out.println( ex.getCause().getMessage() );
-            Assert.assertTrue( ex.getMessage().contains( "line 2, column 0" ) );
+            Assert.assertTrue( ex.getCause().getMessage().contains( "line 2, column 0" ) );
             Assert.assertTrue( ex.getCause().getMessage().contains( "No FileSystem for scheme: fs2you" ) );
             return;
         }