Permalink
Browse files

remove gradle error message for milestone-8

  • Loading branch information...
1 parent 23f1b5a commit 089156ee50f9955cf3ec1b3700fab327d708ab04 @cwensel committed Apr 10, 2012
Showing with 3 additions and 77 deletions.
  1. +2 −2 build.gradle
  2. +1 −75 src/test/cascading/load/AllLoadsTest.java
View
4 build.gradle
@@ -38,8 +38,8 @@ dependencies {
repositories {
mavenLocal()
mavenCentral()
- mavenRepo name: 'conjars', urls: 'http://conjars.org/repo/'
- mavenRepo name: 'apache', urls: 'https://repository.apache.org/content/repositories/releases/'
+ mavenRepo name: 'conjars', url: 'http://conjars.org/repo/'
+ mavenRepo name: 'apache', url: 'https://repository.apache.org/content/repositories/releases/'
}
dependencies {
View
76 src/test/cascading/load/AllLoadsTest.java
@@ -15,16 +15,10 @@
import cascading.load.generate.GenerateData;
import cascading.load.join.MultiJoin;
import cascading.load.pipeline.Pipeline;
-import cascading.test.HadoopPlatform;
-import cascading.test.LocalPlatform;
-import cascading.test.PlatformRunner;
-import org.junit.Test;
/**
*
*/
-//@PlatformRunner.Platform({LocalPlatform.class, HadoopPlatform.class})
-@PlatformRunner.Platform({HadoopPlatform.class})
public class AllLoadsTest extends LoadTestCase
{
String output = "build/test/output/load/";
@@ -34,7 +28,6 @@ public AllLoadsTest()
super();
}
- @Test
public void testAllLoads() throws Exception
{
String output = this.output + "api/";
@@ -87,7 +80,6 @@ public void testAllLoads() throws Exception
assertEquals( 2, new File( pipeline.getOutputPaths()[ 0 ] ).list().length );
}
- @Test
public void testMain() throws Exception
{
String output = this.output + "main/";
@@ -114,7 +106,6 @@ public void testMain() throws Exception
assertEquals( 6, new File( output + "output" ).list().length );
}
- @Test
public void testCleanWorkFiles() throws Exception
{
String output = this.output + "maincwf/";
@@ -143,7 +134,6 @@ public void testCleanWorkFiles() throws Exception
assertEquals( 1, new File( output ).list().length );
}
- @Test
public void testSingleLineStatus() throws Exception
{
String output = this.output + "mainsls/";
@@ -178,7 +168,6 @@ public void testSingleLineStatus() throws Exception
assertEquals( 15, lineNo );
}
- @Test
public void testAllDiscreteFlows() throws Exception
{
String output = this.output + "mainadf/";
@@ -189,8 +178,7 @@ public void testAllDiscreteFlows() throws Exception
"-W", output + "working",
"-O", output + "output",
- "-MXCF", "1", // Serial execution
- "-MXCS", "1",
+ "-MXCF", "0", // Serial execution
"-g",
"-gf", "1",
@@ -212,66 +200,4 @@ public void testAllDiscreteFlows() throws Exception
assertEquals( 8, new File( output + "output" ).list().length );
}
- @Test
- public void testLocalMode() throws Exception
- {
- String output = this.output + "mainlm/";
-
- String[] args = new String[]{
- "-S", output + "status",
- "-I", output + "input",
- "-W", output + "working",
- "-O", output + "output",
-
- "-LM", // Local mode
-
- "-g",
- //"-gf", "1", // Local mode only has single file support
- "-gs", "1",
-
- "-ALL", // Original loads
-
- //TODO own test
- "-gwm", "0", // Normal distribution
- "-gws", "0.2",
-
- "-SLS"
- };
-
- assertTrue( new Main( args ).execute() );
-
- assertEquals( 6, new File( output + "output" ).list().length );
- }
-
- @Test
- public void testLocalModeCleanWorkFiles() throws Exception
- {
- String output = this.output + "mainlmcwf/";
-
- String[] args = new String[]{
- "-S", output + "status",
- "-I", output + "input",
- "-W", output + "working",
- "-O", output + "output",
-
- "-LM", // Local mode
-
- "-g",
- //"-gf", "1", // Local mode only has single file support
- "-gs", "1",
-
- "-ALL", // Original loads
-
- //TODO own test
- "-gwm", "0", // Normal distribution
- "-gws", "0.2",
-
- "-CWF"
- };
-
- assertTrue( new Main( args ).execute() );
-
- assertEquals( 1, new File( output ).list().length );
- }
-
}

0 comments on commit 089156e

Please sign in to comment.