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 2014/10/26 04:28:34 UTC

svn commit: r1634272 - /pig/branches/branch-0.14/test/org/apache/pig/test/TestGrunt.java

Author: daijy
Date: Sun Oct 26 03:28:33 2014
New Revision: 1634272

URL: http://svn.apache.org/r1634272
Log:
PIG-3861: duplicate jars get added to distributed cache (PIG-3861-fixtest.patch)

Modified:
    pig/branches/branch-0.14/test/org/apache/pig/test/TestGrunt.java

Modified: pig/branches/branch-0.14/test/org/apache/pig/test/TestGrunt.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.14/test/org/apache/pig/test/TestGrunt.java?rev=1634272&r1=1634271&r2=1634272&view=diff
==============================================================================
--- pig/branches/branch-0.14/test/org/apache/pig/test/TestGrunt.java (original)
+++ pig/branches/branch-0.14/test/org/apache/pig/test/TestGrunt.java Sun Oct 26 03:28:33 2014
@@ -1495,7 +1495,7 @@ public class TestGrunt {
         String[] lines = pri.stderrContents.split(System.getProperty("line.separator"));
         boolean found = false;
         for (String line : lines) {
-            if (line.matches(".*Adding jar to DistributedCache.*" + jarName + ".*")) {
+            if (line.matches(".*Added jar .*" + jarName + ".*")) {
                 // MR mode
                 found = true;
             } else if (line.matches(".*Local resource.*" + jarName + ".*")) {