@@ -27,7 +27,7 @@ public Object[][] shuffleParameters() {
27
27
28
28
@ Test (dataProvider = "shuffle" )
29
29
public void testSimplePileup (boolean useShuffle ) throws Exception {
30
- final File out = createTempFile ();
30
+ final File out = createTempDir ();
31
31
final ArgumentsBuilder args = new ArgumentsBuilder ();
32
32
args .addRaw ("--input" );
33
33
args .addRaw (NA12878_20_21_WGS_bam );
@@ -47,7 +47,7 @@ public void testSimplePileup(boolean useShuffle) throws Exception {
47
47
48
48
@ Test (dataProvider = "shuffle" )
49
49
public void testVerbosePileup (boolean useShuffle ) throws Exception {
50
- final File out = createTempFile ();
50
+ final File out = createTempDir ();
51
51
final ArgumentsBuilder args = new ArgumentsBuilder ();
52
52
args .addRaw ("--input" );
53
53
args .addRaw (NA12878_20_21_WGS_bam );
@@ -68,7 +68,7 @@ public void testVerbosePileup(boolean useShuffle) throws Exception {
68
68
69
69
@ Test (dataProvider = "shuffle" )
70
70
public void testFeaturesPileup (boolean useShuffle ) throws Exception {
71
- final File out = createTempFile ();
71
+ final File out = createTempDir ();
72
72
final ArgumentsBuilder args = new ArgumentsBuilder ();
73
73
args .addRaw ("--input" );
74
74
args .addRaw (NA12878_20_21_WGS_bam );
@@ -89,7 +89,7 @@ public void testFeaturesPileup(boolean useShuffle) throws Exception {
89
89
90
90
@ Test (dataProvider = "shuffle" )
91
91
public void testInsertLengthPileup (boolean useShuffle ) throws Exception {
92
- final File out = createTempFile ();
92
+ final File out = createTempDir ();
93
93
final ArgumentsBuilder args = new ArgumentsBuilder ();
94
94
args .addRaw ("--input" );
95
95
args .addRaw (NA12878_20_21_WGS_bam );
@@ -122,7 +122,7 @@ public void testFeaturesPileupHdfs(boolean useShuffle) throws Exception {
122
122
cluster .getFileSystem ().copyFromLocalFile (new Path (dbsnp_138_b37_20_21_vcf ), vcfPath );
123
123
cluster .getFileSystem ().copyFromLocalFile (new Path (dbsnp_138_b37_20_21_vcf + ".idx" ), idxPath );
124
124
125
- final File out = createTempFile ();
125
+ final File out = createTempDir ();
126
126
final ArgumentsBuilder args = new ArgumentsBuilder ();
127
127
args .addRaw ("--input" );
128
128
args .addRaw (NA12878_20_21_WGS_bam );
0 commit comments