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/11/07 00:16:00 UTC
svn commit: r1198590 -
/pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java
Author: daijy
Date: Sun Nov 6 23:16:00 2011
New Revision: 1198590
URL: http://svn.apache.org/viewvc?rev=1198590&view=rev
Log:
Fix TestPlanGeneration fail
Modified:
pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java
Modified: pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java?rev=1198590&r1=1198589&r2=1198590&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java (original)
+++ pig/trunk/test/org/apache/pig/test/TestPlanGeneration.java Sun Nov 6 23:16:00 2011
@@ -306,8 +306,7 @@ public class TestPlanGeneration extends
Util.optimizeNewLP(lp);
LOLoad loLoad = (LOLoad)lp.getSources().get(0);
- LOForEach loForEach = (LOForEach)lp.getSuccessors(loLoad).get(0);
- LOStore loStore = (LOStore)lp.getSuccessors(loForEach).get(0);
+ LOStore loStore = (LOStore)lp.getSuccessors(loLoad).get(0);
Assert.assertTrue(((PartitionedLoader)loLoad.getLoadFunc()).getPartFilter()!=null);
Assert.assertTrue(loStore.getAlias().equals("b"));
}