diff --git a/opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/metadata/VariantStorageMetadataManager.java b/opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/metadata/VariantStorageMetadataManager.java index cf4477bb4f1..103e8568bce 100644 --- a/opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/metadata/VariantStorageMetadataManager.java +++ b/opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/metadata/VariantStorageMetadataManager.java @@ -1650,8 +1650,6 @@ public int registerSecondaryIndexSamples(int studyId, List samples, bool CohortMetadata secondaryIndexCohort = getCohortMetadata(studyId, id); if (secondaryIndexCohort.getSamples().size() != sampleIds.size() || !secondaryIndexCohort.getSamples().containsAll(sampleIds)) { - System.out.println("secondaryIndexCohort = " + secondaryIndexCohort.getSamples()); - System.out.println("sampleIds = " + sampleIds); throw new StorageEngineException("Must provide all the samples from the secondary index: " + secondaryIndexCohort.getSamples() .stream() diff --git a/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/adaptors/VariantDBAdaptorMultiFileTest.java b/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/adaptors/VariantDBAdaptorMultiFileTest.java index 0c3a516bb3d..6291344e0e3 100644 --- a/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/adaptors/VariantDBAdaptorMultiFileTest.java +++ b/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/adaptors/VariantDBAdaptorMultiFileTest.java @@ -145,10 +145,6 @@ public void testRelease() throws Exception { Integer minFileId = variant.getStudies().stream() .flatMap(s -> s.getFiles().stream()) .map(FileEntry::getFileId) - .map(s->{ - System.out.println("s = " + s); - return s; - }) .map(s -> StringUtils.removeStart(s, "1K.end.platinum-genomes-vcf-NA")) .map(s -> StringUtils.removeEnd(s, "_S1.genome.vcf.gz")) .map(Integer::valueOf) diff --git a/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/io/VariantWriterFactoryTest.java b/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/io/VariantWriterFactoryTest.java index 32ef120f888..221a126cd92 100644 --- a/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/io/VariantWriterFactoryTest.java +++ b/opencga-storage/opencga-storage-core/src/test/java/org/opencb/opencga/storage/core/variant/io/VariantWriterFactoryTest.java @@ -30,7 +30,6 @@ import org.opencb.opencga.storage.core.exceptions.StorageEngineException; import org.opencb.opencga.storage.core.metadata.models.StudyMetadata; import org.opencb.opencga.storage.core.variant.dummy.DummyVariantDBAdaptor; -import org.opencb.opencga.storage.core.variant.dummy.DummyVariantStorageEngine; import org.opencb.opencga.storage.core.variant.dummy.DummyVariantStorageMetadataDBAdaptorFactory; import java.io.ByteArrayOutputStream; @@ -101,7 +100,6 @@ public void testContigLengthNull() throws IOException, StorageEngineException { writer.close(); String s = outputStream.toString(); - System.out.println("s = " + s); assertThat(s, containsString("##contig=")); assertThat(s, containsString("##contig=")); assertThat(s, containsString("##contig=")); diff --git a/opencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/test/java/org/opencb/opencga/storage/hadoop/utils/PersistentResultScannerTest.java b/opencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/test/java/org/opencb/opencga/storage/hadoop/utils/PersistentResultScannerTest.java index cc21d397061..a7cd3fea113 100644 --- a/opencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/test/java/org/opencb/opencga/storage/hadoop/utils/PersistentResultScannerTest.java +++ b/opencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/test/java/org/opencb/opencga/storage/hadoop/utils/PersistentResultScannerTest.java @@ -63,7 +63,8 @@ public void test() throws Exception { int i = 0; for (Iterator iterator = scanner.iterator(); iterator.hasNext(); ) { Result result = iterator.next(); - System.out.println(Bytes.toString(result.getRow())); + assertNotNull(result); + assertNotNull(result.getRow()); i++; if (i == 50 || i == 99) { int scannersCount = persistentScanner.getScannersCount();