updated test job
authorFrank Greguska <francis.greguska@jpl.nasa.gov>
Sun, 28 Jan 2018 22:00:27 +0000 (14:00 -0800)
committerFrank Greguska <francis.greguska@jpl.nasa.gov>
Sun, 28 Jan 2018 22:00:27 +0000 (14:00 -0800)
docker/example_config/ExampleJob.yml
src/testJobs/java/org/apache/sdap/ningester/testjobs/AvhrrJobTest.java
src/testJobs/resources/testjobs/AvhrrJobTest.yml

index 18ba372..a2ba91a 100644 (file)
@@ -2,7 +2,7 @@
 ningester:
     tile_slicer: sliceFileByTilesDesired
     sliceFileByTilesDesired:
-      tilesDesired: 5184
+      tilesDesired: 1296
       timeDimension: time
       dimensions:
         - lat
index 498136f..baa3753 100644 (file)
@@ -77,18 +77,18 @@ public class AvhrrJobTest {
 
         assertThat(jobExecution.getExitStatus().getExitCode(), is("COMPLETED"));
         StepExecution stepExecution = jobExecution.getStepExecutions().iterator().next();
-        assertThat(stepExecution.getReadCount(), is(5184));
-        assertThat(stepExecution.getWriteCount(), is(3904));
-        assertThat(stepExecution.getFilterCount(), is(1280));
+        assertThat(stepExecution.getReadCount(), is(1296));
+        assertThat(stepExecution.getWriteCount(), is(1053));
+        assertThat(stepExecution.getFilterCount(), is(243));
 
-        assertEqualsEventually(3904L,
+        assertEqualsEventually(1053L,
                 () -> solrTemplate.count(datasourceProperties.getSolrStore().getCollection(),
                         new SimpleQuery("dataset_s: " + applicationProperties.getAddDatasetName().getDatasetName())),
                 3);
 
         long cassandraCount = cassandraTemplate.count(datasourceProperties.getCassandraStore().getTableName());
 
-        assertThat(cassandraCount, is(3904L));
+        assertThat(cassandraCount, is(1053L));
     }
 
     @TestConfiguration
index 5f6fea0..00aa0d2 100644 (file)
@@ -2,7 +2,7 @@
 ningester:
     tile_slicer: sliceFileByTilesDesired
     sliceFileByTilesDesired:
-      tilesDesired: 5184
+      tilesDesired: 1296
       timeDimension: time
       dimensions:
         - lat