From 6e75f1efdb5bf7442584c00e2feaf40fb1dfb505 Mon Sep 17 00:00:00 2001 From: Chris Norman Date: Tue, 21 Jul 2020 14:40:44 -0400 Subject: [PATCH] Re-enable IndexFeatureFile test for uncompressed BCF. (#6716) --- .../hellbender/tools/IndexFeatureFileIntegrationTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/broadinstitute/hellbender/tools/IndexFeatureFileIntegrationTest.java b/src/test/java/org/broadinstitute/hellbender/tools/IndexFeatureFileIntegrationTest.java index 4f78447c96b..4249c24f1a9 100644 --- a/src/test/java/org/broadinstitute/hellbender/tools/IndexFeatureFileIntegrationTest.java +++ b/src/test/java/org/broadinstitute/hellbender/tools/IndexFeatureFileIntegrationTest.java @@ -239,8 +239,7 @@ public void testBCFIndex() { checkIndex(index, Arrays.asList("1")); } - // test disabled until https://github.com/samtools/htsjdk/issues/1323 is resolved - @Test(enabled = false) + @Test(expectedExceptions = UserException.CouldNotIndexFile.class) public void testUncompressedBCF2_2Index() { final File ORIG_FILE = getTestFile("test_variants_for_index.BCF22uncompressed.bcf"); final File outName = createTempFile("test_variants_for_index.BCF22uncompressed.bcf", ".idx"); @@ -249,7 +248,7 @@ public void testUncompressedBCF2_2Index() { "-I", ORIG_FILE.getAbsolutePath(), "-O", outName.getAbsolutePath() }; - final Object res = this.runCommandLine(args); + this.runCommandLine(args); } @Test(expectedExceptions = UserException.NoSuitableCodecs.class)