pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject svn commit: r1149000 - /pig/branches/branch-0.9/test/org/apache/pig/test/TestLimitSchemaStore.java
Date Thu, 21 Jul 2011 01:10:04 GMT
Author: thejas
Date: Thu Jul 21 01:10:03 2011
New Revision: 1149000

URL: http://svn.apache.org/viewvc?rev=1149000&view=rev
Log:
fix import in testcase added as part of - PIG-2146: POStore.getSchema() returns null because
of which PigOutputCommitter
 is not storing schema while cleanup


Modified:
    pig/branches/branch-0.9/test/org/apache/pig/test/TestLimitSchemaStore.java

Modified: pig/branches/branch-0.9/test/org/apache/pig/test/TestLimitSchemaStore.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/test/org/apache/pig/test/TestLimitSchemaStore.java?rev=1149000&r1=1148999&r2=1149000&view=diff
==============================================================================
--- pig/branches/branch-0.9/test/org/apache/pig/test/TestLimitSchemaStore.java (original)
+++ pig/branches/branch-0.9/test/org/apache/pig/test/TestLimitSchemaStore.java Thu Jul 21
01:10:03 2011
@@ -23,7 +23,7 @@ import org.apache.pig.ExecType;
 import org.apache.pig.PigServer;
 import org.apache.pig.builtin.PigStorage;
 import org.apache.pig.impl.logicalLayer.schema.Schema;
-import org.eclipse.jdt.internal.core.Assert;
+import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 
@@ -54,7 +54,7 @@ public class TestLimitSchemaStore{
         pigServer.registerQuery("b = LOAD '" + outFile + "' using PigStorage('\\t', '-schema');");
         Schema genSchema = pigServer.dumpSchema("b");
         System.err.println(genSchema);
-        Assert.isNotNull(genSchema);
+        Assert.assertNotNull(genSchema);
         
     } 
   



Mime
View raw message