pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheol...@apache.org
Subject svn commit: r1601189 - in /pig/branches/branch-0.13: CHANGES.txt test/org/apache/pig/parser/TestErrorHandling.java
Date Sun, 08 Jun 2014 00:48:54 GMT
Author: cheolsoo
Date: Sun Jun  8 00:48:53 2014
New Revision: 1601189

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

Modified:
    pig/branches/branch-0.13/CHANGES.txt
    pig/branches/branch-0.13/test/org/apache/pig/parser/TestErrorHandling.java

Modified: pig/branches/branch-0.13/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.13/CHANGES.txt?rev=1601189&r1=1601188&r2=1601189&view=diff
==============================================================================
--- pig/branches/branch-0.13/CHANGES.txt (original)
+++ pig/branches/branch-0.13/CHANGES.txt Sun Jun  8 00:48:53 2014
@@ -147,6 +147,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/branches/branch-0.13/test/org/apache/pig/parser/TestErrorHandling.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.13/test/org/apache/pig/parser/TestErrorHandling.java?rev=1601189&r1=1601188&r2=1601189&view=diff
==============================================================================
--- pig/branches/branch-0.13/test/org/apache/pig/parser/TestErrorHandling.java (original)
+++ pig/branches/branch-0.13/test/org/apache/pig/parser/TestErrorHandling.java Sun Jun  8
00:48:53 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;
         }



Mime
View raw message