Skip to content

Commit 20380d6

Browse files
committed
Alternative dependency injection issue workaround.
1 parent d9d5211 commit 20380d6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/test/java/org/broadinstitute/hellbender/tools/AbstractPrintReadsIntegrationTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
import org.broadinstitute.hellbender.testutils.ArgumentsBuilder;
2323
import org.broadinstitute.hellbender.testutils.IntegrationTestSpec;
2424
import org.broadinstitute.hellbender.testutils.SamAssertionUtils;
25+
import org.broadinstitute.hellbender.tools.spark.pipelines.PrintReadsSparkIntegrationTest;
2526
import org.broadinstitute.hellbender.utils.Utils;
2627
import org.broadinstitute.hellbender.utils.gcs.BucketUtils;
2728
import org.broadinstitute.hellbender.utils.io.IOUtils;
2829
import org.broadinstitute.hellbender.utils.read.GATKRead;
2930
import org.testng.Assert;
31+
import org.testng.SkipException;
3032
import org.testng.annotations.DataProvider;
3133
import org.testng.annotations.Test;
3234

@@ -75,6 +77,9 @@ public void doFileToFile(String fileIn, String extOut, String reference, boolean
7577
}
7678

7779
public void doFileToFileUsingReferenceBundle(final String fileIn, final String extOut, final String reference, final boolean testMD5) throws Exception {
80+
if (this.getClass().equals(PrintReadsSparkIntegrationTest.class)) {
81+
throw new SkipException("Bundles are not supported in Spark tools");
82+
}
7883
final String referenceToUse;
7984
if (reference != null) {
8085
// create the bundle, using inference to find the sibling files, then write the bundle out to a temp file

src/test/java/org/broadinstitute/hellbender/tools/spark/pipelines/PrintReadsSparkIntegrationTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@
3131
@Test(groups = "spark")
3232
public final class PrintReadsSparkIntegrationTest extends AbstractPrintReadsIntegrationTest {
3333

34-
@Override
35-
public void doFileToFileUsingReferenceBundle(final String fileIn, final String extOut, final String reference, final boolean testMD5) throws Exception {
36-
throw new SkipException("Bundles are not supported in Spark tools");
37-
}
38-
3934
@Test()
4035
public void testUnSortedRoundTrip() throws Exception {
4136
// This is a technically incorrectly sam with a header indicating that it is coordinate sorted when it is actually

0 commit comments

Comments
 (0)