Skip to content

Commit 14fbcc9

Browse files
committed
Try to work around 'unable to delete file' problem with certain FF versions
1 parent b8757fb commit 14fbcc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SequenceAnalysis/test/src/org/labkey/test/tests/external/labModules/SequenceTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,8 @@ public static int addReferenceGenomeTracks(BaseWebDriverTest test, String projec
15001500
List<String> fileNames = Arrays.asList("fakeData.gff", "fakeData.bed");
15011501
for (String fn : fileNames)
15021502
{
1503-
File target = new File(fileRoot, fn);
1503+
//NOTE: this name change is to avoid an issue that seems to happen with certain FF versions, where the upload above leaves this file unable to get deleted
1504+
File target = new File(fileRoot, fn.replaceAll("fakeData", "fakeData2"));
15041505
if (target.exists())
15051506
{
15061507
Assert.assertTrue("Unable to delete file: " + target.getPath(), target.delete());

0 commit comments

Comments
 (0)