Skip to content
Snippets Groups Projects
Commit 1e32b97e authored by felmer's avatar felmer
Browse files

try to fix test

SVN: 23204
parent ee5f7f93
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,10 @@ public class PhosphoNetXClientServiceTest extends AbstractFileSystemTestCase ...@@ -138,7 +138,10 @@ public class PhosphoNetXClientServiceTest extends AbstractFileSystemTestCase
}); });
Properties properties = new Properties(); Properties properties = new Properties();
cacheFolder = new File(workingDirectory, "cache"); cacheFolder = new File(workingDirectory, "cache");
FileUtilities.deleteRecursively(cacheFolder); if (cacheFolder.exists())
{
assertTrue(FileUtilities.deleteRecursively(cacheFolder));
}
properties.setProperty("technologies", Constants.TECHNOLOGY_NAME); properties.setProperty("technologies", Constants.TECHNOLOGY_NAME);
properties.setProperty(Constants.TECHNOLOGY_NAME + "." + CacheManager.CACHE_FOLDER_KEY, properties.setProperty(Constants.TECHNOLOGY_NAME + "." + CacheManager.CACHE_FOLDER_KEY,
cacheFolder.getPath()); cacheFolder.getPath());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment