diff --git a/Framework/DataHandling/test/DownloadInstrumentTest.h b/Framework/DataHandling/test/DownloadInstrumentTest.h
index 45a8dec95f9d09cc7ae2d1cb8b1faeedd475a1ad..325722f7f768d9759dc96b073a182159b1200aaf 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() {