diff --git a/src/test/java/org/broadinstitute/hellbender/tools/spark/PileupSparkIntegrationTest.java b/src/test/java/org/broadinstitute/hellbender/tools/spark/PileupSparkIntegrationTest.java index 48593923202..0ee14795506 100644 --- a/src/test/java/org/broadinstitute/hellbender/tools/spark/PileupSparkIntegrationTest.java +++ b/src/test/java/org/broadinstitute/hellbender/tools/spark/PileupSparkIntegrationTest.java @@ -115,7 +115,11 @@ public void testInsertLengthPileup(boolean useShuffle) throws Exception { @Test(dataProvider = "shuffle") public void testFeaturesPileupHdfs(boolean useShuffle) throws Exception { - + // Skip this test when running on Java 11 since it fails with a Spark error that is not fixed until Spark 3 + // see https://issues.apache.org/jira/browse/SPARK-26963 + if (System.getProperty("java.specification.version").equals("11")) { + return; + } MiniClusterUtils.runOnIsolatedMiniCluster( cluster -> { final Path workingDirectory = MiniClusterUtils.getWorkingDir(cluster); final Path vcfPath = new Path(workingDirectory, "dbsnp_138.b37.20.21.vcf");