From 2bd97ade79db2ca47a799ea44ee960a9234ad84e Mon Sep 17 00:00:00 2001
From: Nick Draper <nick.draper@stfc.ac.uk>
Date: Thu, 16 Feb 2017 09:57:41 +0000
Subject: [PATCH] cleanup files after test_execOrphanedFile

remove pointless test
re #18885
---
 Framework/DataHandling/test/DownloadInstrumentTest.h | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/Framework/DataHandling/test/DownloadInstrumentTest.h b/Framework/DataHandling/test/DownloadInstrumentTest.h
index 45a8dec95f9..325722f7f76 100644
--- a/Framework/DataHandling/test/DownloadInstrumentTest.h
+++ b/Framework/DataHandling/test/DownloadInstrumentTest.h
@@ -117,14 +117,6 @@ public:
     cleanupDiretory(localInstDir);
   }
 
-  void test_execTwoTimesInARow() {
-    std::string localInstDir =
-        Mantid::Kernel::ConfigService::Instance().getInstrumentDirectories()[0];
-    cleanupDiretory(localInstDir);
-
-    cleanupDiretory(localInstDir);
-  }
-
   void test_execOrphanedFile() {
     std::string localInstDir =
         Mantid::Kernel::ConfigService::Instance().getInstrumentDirectories()[0];
@@ -147,6 +139,7 @@ public:
                orphanedFile.exists() == false);
 
     deleteFile(orphanedFilePath.toString());
+    cleanupDiretory(localInstDir);
   }
 
   int runDownloadInstrument() {
-- 
GitLab