Skip to content

Commit

Permalink
Remove jetty workaround for some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnbroad committed Feb 28, 2023
1 parent 188b680 commit 347f528
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ public void testInsertLengthPileup(boolean useShuffle) throws Exception {

@Test(dataProvider = "shuffle")
public void testFeaturesPileupHdfs(boolean useShuffle) throws Exception {
if (isGATKDockerContainer()) {
// see https://github.com/eclipse/jetty.project/issues/8549
// for the docker tests, the test dependencies are in a separate jar
throw new SkipException("skipping due to jetty jar parsing issues (https://github.com/eclipse/jetty.project/issues/8549)");
}
MiniClusterUtils.runOnIsolatedMiniCluster( cluster -> {
final Path workingDirectory = MiniClusterUtils.getWorkingDir(cluster);
final Path vcfPath = new Path(workingDirectory, "dbsnp_138.b37.20.21.vcf");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ public void testReadAndWriteCRAMAndReferenceOnHDFS() throws Exception {
final GATKPath testRefDict = new GATKPath(getTestFile("count_reads.dict").getAbsolutePath());
final GATKPath testRefIndex = new GATKPath(getTestFile("count_reads.fasta.fai").getAbsolutePath());

if (isGATKDockerContainer()) {
// see https://github.com/eclipse/jetty.project/issues/8549
// for the docker tests, the test dependencies are in a separate jar
throw new SkipException("skipping due to jetty jar parsing issues (https://github.com/eclipse/jetty.project/issues/8549)");
}
MiniClusterUtils.runOnIsolatedMiniCluster(cluster -> {
final org.apache.hadoop.fs.Path workingDirectory = MiniClusterUtils.getWorkingDir(cluster);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ public void testRunLocal(final CpxVariantReInterpreterSparkIntegrationTestArgs p

@Test(groups = "sv", dataProvider = "forCpxVariantReInterpreterSparkIntegrationTest")
public void testRunHDFS(final CpxVariantReInterpreterSparkIntegrationTestArgs params) throws Exception {
if (isGATKDockerContainer()) {
// see https://github.com/eclipse/jetty.project/issues/8549
// for the docker tests, the test dependencies are in a separate jar
throw new SkipException("skipping due to jetty jar parsing issues (https://github.com/eclipse/jetty.project/issues/8549)");
}
MiniClusterUtils.runOnIsolatedMiniCluster(cluster -> {

final List<String> argsToBeModified = Arrays.asList( new ArgumentsBuilder().addRaw(params.getCommandLine()).getArgsArray() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ public void testDiscoverVariantsRunnableLocal(final DiscoverVariantsFromContigAl
@Test(dataProvider = "discoverVariantsFromContigAlignmentsSparkIntegrationTest", groups = "sv")
public void testDiscoverVariantsRunnableMiniCluster(final DiscoverVariantsFromContigAlignmentsSAMSparkIntegrationTestArgs params) throws Exception {

if (isGATKDockerContainer()) {
// see https://github.com/eclipse/jetty.project/issues/8549
// for the docker tests, the test dependencies are in a separate jar
throw new SkipException("skipping due to jetty jar parsing issues (https://github.com/eclipse/jetty.project/issues/8549)");
}
MiniClusterUtils.runOnIsolatedMiniCluster(cluster -> {

final List<String> argsToBeModified = Arrays.asList( new ArgumentsBuilder().addRaw(params.getCommandLine()).getArgsArray() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ public void testFindBreakpointRunnableLocal(final FindBreakpointEvidenceSparkInt
@Test(dataProvider = "findBreakpointEvidenceSparkIntegrationTest", groups = "sv")
public void testFindBreakpointRunnableMiniCluster(final FindBreakpointEvidenceSparkIntegrationTestArgs params) throws Exception {

if (isGATKDockerContainer()) {
// see https://github.com/eclipse/jetty.project/issues/8549
// for the docker tests, the test dependencies are in a separate jar
throw new SkipException("skipping due to jetty jar parsing issues (https://github.com/eclipse/jetty.project/issues/8549)");
}
MiniClusterUtils.runOnIsolatedMiniCluster(cluster -> {

final List<String> argsToBeModified = Arrays.asList( new ArgumentsBuilder().addRaw(params.getCommandLine()).getArgsArray() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ public void testSVDiscoverPipelineRunnableLocal(final StructuralVariationDiscove
@Test(dataProvider = "svDiscoverPipelineSparkIntegrationTest", groups = "sv")
public void testSVDiscoverPipelineRunnableMiniCluster(final StructuralVariationDiscoveryPipelineSparkIntegrationTestArgs params) throws Exception {

if (isGATKDockerContainer()) {
// see https://github.com/eclipse/jetty.project/issues/8549
// for the docker tests, the test dependencies are in a separate jar
throw new SkipException("skipping due to jetty jar parsing issues (https://github.com/eclipse/jetty.project/issues/8549)");
}
MiniClusterUtils.runOnIsolatedMiniCluster(cluster -> {

final List<String> argsToBeModified = Arrays.asList( new ArgumentsBuilder().addRaw(params.getCommandLine()).getArgsArray() );
Expand Down

0 comments on commit 347f528

Please sign in to comment.